projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cut-n-paste strikes again
[oweals/busybox.git]
/
util-linux
/
more.c
diff --git
a/util-linux/more.c
b/util-linux/more.c
index 5ece188b050af55e2069ab27355dd5d6d60abf04..e91038883e292d1a19552e5c2b80d9f9ac716413 100644
(file)
--- 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");