diff options
Diffstat (limited to 'drivers/char/tty_io.c')
-rw-r--r-- | drivers/char/tty_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index fa162c93ee02..ac53d7f9b5d4 100644 --- a/drivers/char/tty_io.c +++ b/drivers/char/tty_io.c | |||
@@ -2605,7 +2605,7 @@ long tty_ioctl(struct file *file, unsigned int cmd, unsigned long arg) | |||
2605 | case TIOCSTI: | 2605 | case TIOCSTI: |
2606 | return tiocsti(tty, p); | 2606 | return tiocsti(tty, p); |
2607 | case TIOCGWINSZ: | 2607 | case TIOCGWINSZ: |
2608 | return tiocgwinsz(tty, p); | 2608 | return tiocgwinsz(real_tty, p); |
2609 | case TIOCSWINSZ: | 2609 | case TIOCSWINSZ: |
2610 | return tiocswinsz(tty, real_tty, p); | 2610 | return tiocswinsz(tty, real_tty, p); |
2611 | case TIOCCONS: | 2611 | case TIOCCONS: |