From 1b9d7c9aa951343f1805d0a7efbfa213611e9e01 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sat, 3 Jun 2006 22:45:37 +0000 Subject: - 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 --- coreutils/tail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/tail.c') diff --git a/coreutils/tail.c b/coreutils/tail.c index 48abc4b..e63406e 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; } -- cgit v1.1