tty: fix typo in error message
This commit is contained in:
committed by
Kristian Høgsberg
parent
45d659dd82
commit
96f0824892
@@ -174,7 +174,7 @@ tty_create(struct weston_compositor *compositor, tty_vt_func_t vt_func,
|
||||
if (tty->starting_vt != tty->vt) {
|
||||
if (ioctl(tty->fd, VT_ACTIVATE, tty->vt) < 0 ||
|
||||
ioctl(tty->fd, VT_WAITACTIVE, tty->vt) < 0) {
|
||||
weston_log("failed to swtich to new vt\n");
|
||||
weston_log("failed to switch to new vt\n");
|
||||
goto err;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user