Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/more.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>1999-11-19 05:38:58 +0300
committerEric Andersen <andersen@codepoet.org>1999-11-19 05:38:58 +0300
commit08b1034f4f0b910660a8b1a537f86462fa41ebad (patch)
tree4a39b721f4654120bff47fcd7cd95906172ec16f /more.c
parentab746abfc05c28824b25e12b86a538b09fb9275d (diff)
Stuf
Diffstat (limited to 'more.c')
-rw-r--r--more.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/more.c b/more.c
index 7d0ddb8ec..7fbca2317 100644
--- a/more.c
+++ b/more.c
@@ -122,7 +122,7 @@ extern int more_main(int argc, char **argv)
stty(fileno(cin), &new_settings);
#ifdef BB_FEATURE_AUTOWIDTH
- ioctl(STDOUT_FILENO, TIOCGWINSZ, &win);
+ ioctl(fileno(stdout), TIOCGWINSZ, &win);
if (win.ws_row > 4)
terminal_height = win.ws_row - 2;
if (win.ws_col > 0)