aboutsummaryrefslogtreecommitdiff
path: root/coreutils/tail.c
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-06-03 22:45:37 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-06-03 22:45:37 +0000
commit022b1428f762eebd783d58f59f4a95b67de16d29 (patch)
treedc77d2e60bc693ce3408d10a41cd3b85ff3bfa82 /coreutils/tail.c
parent11d67a239fd6ae71c26755c4dce20bc07072d4e2 (diff)
downloadbusybox-w32-022b1428f762eebd783d58f59f4a95b67de16d29.tar.gz
busybox-w32-022b1428f762eebd783d58f59f4a95b67de16d29.tar.bz2
busybox-w32-022b1428f762eebd783d58f59f4a95b67de16d29.zip
- use bb_msg_{read,write}_error where appropriate.
text data bss dec hex filename 825015 9100 645216 1479331 1692a3 busybox.old 824919 9100 645216 1479235 169243 busybox git-svn-id: svn://busybox.net/trunk/busybox@15279 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 48abc4b84..e63406e31 100644
--- a/coreutils/tail.c
+++ b/coreutils/tail.c
@@ -70,7 +70,7 @@ static ssize_t tail_read(int fd, char *buf, size_t count)
70 end = sbuf.st_size; 70 end = sbuf.st_size;
71 lseek(fd, end < current ? 0 : current, SEEK_SET); 71 lseek(fd, end < current ? 0 : current, SEEK_SET);
72 if ((r = safe_read(fd, buf, count)) < 0) { 72 if ((r = safe_read(fd, buf, count)) < 0) {
73 bb_perror_msg("read"); 73 bb_perror_msg(bb_msg_read_error);
74 status = EXIT_FAILURE; 74 status = EXIT_FAILURE;
75 } 75 }
76 76