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 821244f9e..5e05fe8e7 100644
--- a/tail.c
+++ b/tail.c
@@ -330,7 +330,7 @@ static int tail_file(const char *filename, off_t n_units)
330 /* Not standard input. */ 330 /* Not standard input. */
331 fd = open(filename, O_RDONLY); 331 fd = open(filename, O_RDONLY);
332 if (fd == -1) 332 if (fd == -1)
333 errorMsg("open error"); 333 fatalError("open error");
334 334
335 errors = tail_lines(filename, fd, (long) n_units); 335 errors = tail_lines(filename, fd, (long) n_units);
336 close(fd); 336 close(fd);