aboutsummaryrefslogtreecommitdiff
path: root/tail.c
diff options
context:
space:
mode:
Diffstat (limited to 'tail.c')
-rw-r--r--tail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tail.c b/tail.c
index 3b3e2f56c..2027d921d 100644
--- a/tail.c
+++ b/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);