aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>1999-11-19 02:38:58 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>1999-11-19 02:38:58 +0000
commit1fede547092c5302a27d5c668a47335b36fcdf53 (patch)
tree4a39b721f4654120bff47fcd7cd95906172ec16f /util-linux
parent428e6f87cf87d39db56731f17c4d082a792e2f70 (diff)
downloadbusybox-w32-1fede547092c5302a27d5c668a47335b36fcdf53.tar.gz
busybox-w32-1fede547092c5302a27d5c668a47335b36fcdf53.tar.bz2
busybox-w32-1fede547092c5302a27d5c668a47335b36fcdf53.zip
Stuf
git-svn-id: svn://busybox.net/trunk/busybox@108 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/more.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/more.c b/util-linux/more.c
index 7d0ddb8ec..7fbca2317 100644
--- a/util-linux/more.c
+++ b/util-linux/more.c
@@ -122,7 +122,7 @@ extern int more_main(int argc, char **argv)
122 stty(fileno(cin), &new_settings); 122 stty(fileno(cin), &new_settings);
123 123
124#ifdef BB_FEATURE_AUTOWIDTH 124#ifdef BB_FEATURE_AUTOWIDTH
125 ioctl(STDOUT_FILENO, TIOCGWINSZ, &win); 125 ioctl(fileno(stdout), TIOCGWINSZ, &win);
126 if (win.ws_row > 4) 126 if (win.ws_row > 4)
127 terminal_height = win.ws_row - 2; 127 terminal_height = win.ws_row - 2;
128 if (win.ws_col > 0) 128 if (win.ws_col > 0)