From: Benjamin Franzke Date: Wed, 21 Sep 2011 08:01:30 +0000 (+0200) Subject: compositor-openwfd: Fix tty assignment in backend_init X-Git-Tag: 0.85.0~322 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c18366d1e9d0293038eccde1f6913dcc2e84f1bc;p=platform%2Fupstream%2Fweston.git compositor-openwfd: Fix tty assignment in backend_init --- diff --git a/compositor/compositor-openwfd.c b/compositor/compositor-openwfd.c index 21695ab..c507ad9 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; } }