aboutsummaryrefslogtreecommitdiff
path: root/coreutils/tail.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-06-02 03:21:42 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-06-02 03:21:42 +0000
commit9e3d5ab99f2b9cb84b0ec52b24812b0081b0cc0a (patch)
tree10aa90962757d07724c78e4fc9baaa27ca7b4858 /coreutils/tail.c
parentbe1caa3c14daabb874a1faab40ffdcf9ece9dd02 (diff)
downloadbusybox-w32-9e3d5ab99f2b9cb84b0ec52b24812b0081b0cc0a.tar.gz
busybox-w32-9e3d5ab99f2b9cb84b0ec52b24812b0081b0cc0a.tar.bz2
busybox-w32-9e3d5ab99f2b9cb84b0ec52b24812b0081b0cc0a.zip
A number of additional fixed from Pavel Roskin, note some more bugs in the
TODO list. Add Glenn to the Authors list for writing a mini ar for BusyBox, which is now included. -Erik git-svn-id: svn://busybox.net/trunk/busybox@594 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 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);