aboutsummaryrefslogtreecommitdiff
path: root/coreutils/tail.c
diff options
context:
space:
mode:
authorerik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-02-18 21:34:17 +0000
committererik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-02-18 21:34:17 +0000
commitacf25154a0a2b4029a194dafd41c466bc8a3472a (patch)
treeab4773383a4ed9ee5ccb52b58f981267e15db6e0 /coreutils/tail.c
parented454898f7886058cea0154f9a759a3ab236254d (diff)
downloadbusybox-w32-acf25154a0a2b4029a194dafd41c466bc8a3472a.tar.gz
busybox-w32-acf25154a0a2b4029a194dafd41c466bc8a3472a.tar.bz2
busybox-w32-acf25154a0a2b4029a194dafd41c466bc8a3472a.zip
Some updates for the day,
-Erik git-svn-id: svn://busybox.net/trunk/busybox@373 69ca8d6d-28ef-0310-b511-8ec308f3f277
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);