summaryrefslogtreecommitdiff
path: root/coreutils/tail.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/tail.c')
-rw-r--r--coreutils/tail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/tail.c b/coreutils/tail.c
index 3b3e2f5..2027d92 100644
--- a/coreutils/tail.c
+++ b/coreutils/tail.c
@@ -336,7 +336,7 @@ static int tail_file(const char *filename, off_t n_units)
/* Not standard input. */
fd = open(filename, O_RDONLY);
if (fd == -1)
- fatalError("open error");
+ perror(filename);
errors = tail_lines(filename, fd, (long) n_units);
close(fd);