tty: fix typo in error message

This commit is contained in:
Peter Hutterer 2013-08-08 17:13:46 +10:00 committed by Kristian Høgsberg
parent bd469da5b7
commit 7112c49897

View file

@ -175,7 +175,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;
}
}