diff options
Diffstat (limited to 'coreutils/tail.c')
| -rw-r--r-- | coreutils/tail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/tail.c b/coreutils/tail.c index 3b3e2f56c..2027d921d 100644 --- a/coreutils/tail.c +++ b/coreutils/tail.c | |||
| @@ -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); |
