mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 02:58:02 +02:00
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:
parent
8b568806aa
commit
280b8a6a3b
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ tty_create(struct wlsc_compositor *compositor, tty_vt_func_t vt_func,
|
|||
if (tty == 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);
|
||||
|
||||
memset(tty, 0, sizeof *tty);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue