aboutsummaryrefslogtreecommitdiff
path: root/coreutils/tail.c
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-02-18 21:34:17 +0000
committerErik Andersen <andersen@codepoet.org>2000-02-18 21:34:17 +0000
commite272915e1ffd6978ef3555ce4ae1798a9fbcee56 (patch)
treeab4773383a4ed9ee5ccb52b58f981267e15db6e0 /coreutils/tail.c
parentbf5f009862f8dbc6d767c17064380790a047cce1 (diff)
downloadbusybox-w32-e272915e1ffd6978ef3555ce4ae1798a9fbcee56.tar.gz
busybox-w32-e272915e1ffd6978ef3555ce4ae1798a9fbcee56.tar.bz2
busybox-w32-e272915e1ffd6978ef3555ce4ae1798a9fbcee56.zip
Some updates for the day,
-Erik
Diffstat (limited to 'coreutils/tail.c')
-rw-r--r--coreutils/tail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/tail.c b/coreutils/tail.c
index 821244f9e..5e05fe8e7 100644
--- a/coreutils/tail.c
+++ b/coreutils/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);