aboutsummaryrefslogtreecommitdiff
path: root/coreutils/tail.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-03 22:45:37 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-03 22:45:37 +0000
commit1b9d7c9aa951343f1805d0a7efbfa213611e9e01 (patch)
treedc77d2e60bc693ce3408d10a41cd3b85ff3bfa82 /coreutils/tail.c
parenta3d4bf38b0245cdf3551d59ca1a73bceb01abc0f (diff)
downloadbusybox-1b9d7c9aa951343f1805d0a7efbfa213611e9e01.tar.gz
- 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/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)
end = sbuf.st_size;
lseek(fd, end < current ? 0 : current, SEEK_SET);
if ((r = safe_read(fd, buf, count)) < 0) {
- bb_perror_msg("read");
+ bb_perror_msg(bb_msg_read_error);
status = EXIT_FAILURE;
}