diff options
Diffstat (limited to 'util-linux/more.c')
-rw-r--r-- | util-linux/more.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/more.c b/util-linux/more.c index 93954660e..cf8e137eb 100644 --- a/util-linux/more.c +++ b/util-linux/more.c | |||
@@ -72,7 +72,7 @@ int more_main(int argc UNUSED_PARAM, char **argv) | |||
72 | * is not a tty and turns into cat. This makes sense. */ | 72 | * is not a tty and turns into cat. This makes sense. */ |
73 | if (!isatty(STDOUT_FILENO)) | 73 | if (!isatty(STDOUT_FILENO)) |
74 | return bb_cat(argv); | 74 | return bb_cat(argv); |
75 | cin = fopen(CURRENT_TTY, "r"); | 75 | cin = fopen_for_read(CURRENT_TTY); |
76 | if (!cin) | 76 | if (!cin) |
77 | return bb_cat(argv); | 77 | return bb_cat(argv); |
78 | 78 | ||