From 70060d25d23278f6b636a535edca4a0c4006decd Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 27 Mar 2004 10:02:48 +0000 Subject: s/fileno\(stdin\)/STDIN_FILENO/g s/fileno\(stdout\)/STDOUT_FILENO/g --- util-linux/more.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-linux/more.c') diff --git a/util-linux/more.c b/util-linux/more.c index 5ece188b0..e91038883 100644 --- a/util-linux/more.c +++ b/util-linux/more.c @@ -76,7 +76,7 @@ extern int more_main(int argc, char **argv) /* not use inputing from terminal if usage: more > outfile */ - if(isatty(fileno(stdout))) { + if(isatty(STDOUT_FILENO)) { cin = fopen(CURRENT_TTY, "r"); if (!cin) cin = bb_xfopen(CONSOLE_DEV, "r"); -- cgit v1.2.3