From c18366d1e9d0293038eccde1f6913dcc2e84f1bc Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Wed, 21 Sep 2011 10:01:30 +0200 Subject: [PATCH] compositor-openwfd: Fix tty assignment in backend_init --- compositor/compositor-openwfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compositor/compositor-openwfd.c b/compositor/compositor-openwfd.c index 21695abd..c507ad93 100644 --- a/compositor/compositor-openwfd.c +++ b/compositor/compositor-openwfd.c @@ -689,7 +689,7 @@ backend_init(struct wl_display *display, char *options) seat = value; break; case 2: - tty = value; + tty = strtol(value, NULL, 0); break; } }