diff options
Diffstat (limited to 'tail.c')
-rw-r--r-- | tail.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |