diff options
Diffstat (limited to 'tail.c')
-rw-r--r-- | tail.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -336,7 +336,7 @@ static int tail_file(const char *filename, off_t n_units) | |||
336 | /* Not standard input. */ | 336 | /* Not standard input. */ |
337 | fd = open(filename, O_RDONLY); | 337 | fd = open(filename, O_RDONLY); |
338 | if (fd == -1) | 338 | if (fd == -1) |
339 | fatalError("open error"); | 339 | perror(filename); |
340 | 340 | ||
341 | errors = tail_lines(filename, fd, (long) n_units); | 341 | errors = tail_lines(filename, fd, (long) n_units); |
342 | close(fd); | 342 | close(fd); |