summaryrefslogtreecommitdiff
path: root/more.c
diff options
context:
space:
mode:
authorEric Andersen1999-10-20 08:05:35 +0000
committerEric Andersen1999-10-20 08:05:35 +0000
commitef8b6c757de9684f5d88eff4b014527e87121137 (patch)
tree49e5f39927e29db251956440dc4338572ecd75e3 /more.c
parentce8f3b99339fb954204329971ed25efc950fed26 (diff)
downloadbusybox-ef8b6c757de9684f5d88eff4b014527e87121137.zip
busybox-ef8b6c757de9684f5d88eff4b014527e87121137.tar.gz
Add a trivial ps command.
Diffstat (limited to 'more.c')
-rw-r--r--more.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/more.c b/more.c
index 745ae2b..72d58a6 100644
--- a/more.c
+++ b/more.c
@@ -79,7 +79,7 @@ extern int more_main(int argc, char **argv)
file = fopen(*argv, "r");
if (file == NULL) {
- perror("Can't open file");
+ perror(*argv);
exit(FALSE);
}
fstat(fileno(file), &st);