diff --git a/src/launcher-util.c b/src/launcher-util.c index 8ab61f15..6b6a5f3c 100644 --- a/src/launcher-util.c +++ b/src/launcher-util.c @@ -289,11 +289,8 @@ setup_tty(struct weston_launcher *launcher, int tty) goto err_close; } - ret = ioctl(launcher->tty, VT_ACTIVATE, minor(buf.st_rdev)); - weston_log("VT_ACTIVATE ret=%d, %m vt\n", ret); - - ret = ioctl(launcher->tty, VT_WAITACTIVE, minor(buf.st_rdev)); - weston_log("VT_WAITACTIVE ret=%d, %m vt\n", ret); + ioctl(launcher->tty, VT_ACTIVATE, minor(buf.st_rdev)); + ioctl(launcher->tty, VT_WAITACTIVE, minor(buf.st_rdev)); if (ioctl(launcher->tty, KDGKBMODE, &launcher->kb_mode)) { weston_log("failed to read keyboard mode: %m\n");