From 08b1034f4f0b910660a8b1a537f86462fa41ebad Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 19 Nov 1999 02:38:58 +0000 Subject: Stuf --- util-linux/more.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-linux') 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) 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) -- cgit v1.2.3