tty: fix command line parsing
revert typo from evdev commit 8b568806.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
This commit is contained in:
+1
-1
@@ -103,7 +103,7 @@ tty_create(struct wlsc_compositor *compositor, tty_vt_func_t vt_func,
|
|||||||
if (tty == NULL)
|
if (tty == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
snprintf(filename, sizeof filename, "/dev/tty0");
|
snprintf(filename, sizeof filename, "/dev/tty%d", tty_nr);
|
||||||
fprintf(stderr, "compositor: using %s\n", filename);
|
fprintf(stderr, "compositor: using %s\n", filename);
|
||||||
|
|
||||||
memset(tty, 0, sizeof *tty);
|
memset(tty, 0, sizeof *tty);
|
||||||
|
|||||||
Reference in New Issue
Block a user