aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
980 if ((ioctl(fd, TIOCSWINSZ, (char *) &win) != 0) 980 if ((ioctl(fd, TIOCSWINSZ, (char *) &win) != 0)
981 || (ioctl(fd, TIOCSSIZE, (char *) &ttysz) != 0)) { 981 || (ioctl(fd, TIOCSSIZE, (char *) &ttysz) != 0)) {
982 perror_on_device("%s"); 982 perror_on_device("%s");
983 }
983 return; 984 return;
984 } 985 }
985# endif 986# endif