summaryrefslogtreecommitdiff
path: root/more.c
diff options
context:
space:
mode:
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);