tty: fix typo in error message

dev
Peter Hutterer 11 years ago committed by Kristian Høgsberg
parent 45d659dd82
commit 96f0824892
  1. 2
      src/tty.c

@ -174,7 +174,7 @@ tty_create(struct weston_compositor *compositor, tty_vt_func_t vt_func,
if (tty->starting_vt != tty->vt) { if (tty->starting_vt != tty->vt) {
if (ioctl(tty->fd, VT_ACTIVATE, tty->vt) < 0 || if (ioctl(tty->fd, VT_ACTIVATE, tty->vt) < 0 ||
ioctl(tty->fd, VT_WAITACTIVE, 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; goto err;
} }
} }

Loading…
Cancel
Save