summaryrefslogtreecommitdiff
path: root/tail.c
diff options
context:
space:
mode:
authorErik Andersen2000-02-18 21:34:17 +0000
committerErik Andersen2000-02-18 21:34:17 +0000
commite272915e1ffd6978ef3555ce4ae1798a9fbcee56 (patch)
treeab4773383a4ed9ee5ccb52b58f981267e15db6e0 /tail.c
parentbf5f009862f8dbc6d767c17064380790a047cce1 (diff)
downloadbusybox-e272915e1ffd6978ef3555ce4ae1798a9fbcee56.zip
busybox-e272915e1ffd6978ef3555ce4ae1798a9fbcee56.tar.gz
Some updates for the day,
-Erik
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 821244f..5e05fe8 100644
--- a/tail.c
+++ b/tail.c
@@ -330,7 +330,7 @@ static int tail_file(const char *filename, off_t n_units)
/* Not standard input. */
fd = open(filename, O_RDONLY);
if (fd == -1)
- errorMsg("open error");
+ fatalError("open error");
errors = tail_lines(filename, fd, (long) n_units);
close(fd);