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 ac53d7f9b5d4..9a76db3cda1c 100644 --- a/drivers/char/tty_io.c +++ b/drivers/char/tty_io.c | |||
@@ -2133,7 +2133,7 @@ int tty_do_resize(struct tty_struct *tty, struct tty_struct *real_tty, | |||
2133 | 2133 | ||
2134 | /* For a PTY we need to lock the tty side */ | 2134 | /* For a PTY we need to lock the tty side */ |
2135 | mutex_lock(&real_tty->termios_mutex); | 2135 | mutex_lock(&real_tty->termios_mutex); |
2136 | if (!memcmp(ws, &tty->winsize, sizeof(*ws))) | 2136 | if (!memcmp(ws, &real_tty->winsize, sizeof(*ws))) |
2137 | goto done; | 2137 | goto done; |
2138 | /* Get the PID values and reference them so we can | 2138 | /* Get the PID values and reference them so we can |
2139 | avoid holding the tty ctrl lock while sending signals */ | 2139 | avoid holding the tty ctrl lock while sending signals */ |