diff options
Diffstat (limited to 'drivers/char/vt.c')
-rw-r--r-- | drivers/char/vt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/vt.c b/drivers/char/vt.c index d6694163b6f1..94ce3e7fc9e4 100644 --- a/drivers/char/vt.c +++ b/drivers/char/vt.c | |||
@@ -866,8 +866,8 @@ int vc_resize(struct vc_data *vc, unsigned int cols, unsigned int lines) | |||
866 | ws.ws_col = vc->vc_cols; | 866 | ws.ws_col = vc->vc_cols; |
867 | ws.ws_ypixel = vc->vc_scan_lines; | 867 | ws.ws_ypixel = vc->vc_scan_lines; |
868 | if ((ws.ws_row != cws->ws_row || ws.ws_col != cws->ws_col) && | 868 | if ((ws.ws_row != cws->ws_row || ws.ws_col != cws->ws_col) && |
869 | vc->vc_tty->pgrp > 0) | 869 | vc->vc_tty->pgrp) |
870 | kill_pg(vc->vc_tty->pgrp, SIGWINCH, 1); | 870 | kill_pgrp(vc->vc_tty->pgrp, SIGWINCH, 1); |
871 | *cws = ws; | 871 | *cws = ws; |
872 | } | 872 | } |
873 | 873 | ||