aboutsummaryrefslogtreecommitdiff
path: root/util-linux/more.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/more.c')
-rw-r--r--util-linux/more.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/more.c b/util-linux/more.c
index f68292e80..85209ce61 100644
--- a/util-linux/more.c
+++ b/util-linux/more.c
@@ -81,7 +81,7 @@ int more_main(int argc, char **argv)
if (argc == 0) {
file = stdin;
} else
- file = bb_wfopen(*argv, "r");
+ file = fopen_or_warn(*argv, "r");
if(file==0)
goto loop;