Cut-n-paste strikes again
[oweals/busybox.git] / util-linux / more.c
index 5ece188b050af55e2069ab27355dd5d6d60abf04..e91038883e292d1a19552e5c2b80d9f9ac716413 100644 (file)
@@ -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");