diff options
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/vt/vt_ioctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/tty/vt/vt_ioctl.c b/drivers/tty/vt/vt_ioctl.c index 6bcf05bf4978..9e9a901442a3 100644 --- a/drivers/tty/vt/vt_ioctl.c +++ b/drivers/tty/vt/vt_ioctl.c | |||
@@ -1010,8 +1010,9 @@ int vt_ioctl(struct tty_struct *tty, struct file * file, | |||
1010 | if (ret) | 1010 | if (ret) |
1011 | break; | 1011 | break; |
1012 | /* Commence switch and lock */ | 1012 | /* Commence switch and lock */ |
1013 | set_console(arg); | 1013 | set_console(vsa.console); |
1014 | } | 1014 | } |
1015 | break; | ||
1015 | } | 1016 | } |
1016 | 1017 | ||
1017 | /* | 1018 | /* |