aboutsummaryrefslogtreecommitdiff
path: root/coreutils/stty.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/stty.c')
-rw-r--r--coreutils/stty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/coreutils/stty.c b/coreutils/stty.c
index bd3a36911..d62068668 100644
--- a/coreutils/stty.c
+++ b/coreutils/stty.c
@@ -980,6 +980,7 @@ set_window_size(int rows, int cols, int fd)
if ((ioctl(fd, TIOCSWINSZ, (char *) &win) != 0)
|| (ioctl(fd, TIOCSSIZE, (char *) &ttysz) != 0)) {
perror_on_device("%s");
+ }
return;
}
# endif