diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-06-03 22:45:37 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-06-03 22:45:37 +0000 |
commit | 1b9d7c9aa951343f1805d0a7efbfa213611e9e01 (patch) | |
tree | dc77d2e60bc693ce3408d10a41cd3b85ff3bfa82 /coreutils | |
parent | a3d4bf38b0245cdf3551d59ca1a73bceb01abc0f (diff) | |
download | busybox-w32-1b9d7c9aa951343f1805d0a7efbfa213611e9e01.tar.gz busybox-w32-1b9d7c9aa951343f1805d0a7efbfa213611e9e01.tar.bz2 busybox-w32-1b9d7c9aa951343f1805d0a7efbfa213611e9e01.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
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/tail.c | 2 |
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 | ||