summaryrefslogtreecommitdiff
path: root/archival/bzip2.c
diff options
context:
space:
mode:
Diffstat (limited to 'archival/bzip2.c')
-rw-r--r--archival/bzip2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/bzip2.c b/archival/bzip2.c
index f1c84d681..fdb8b9306 100644
--- a/archival/bzip2.c
+++ b/archival/bzip2.c
@@ -88,7 +88,7 @@ IF_DESKTOP(long long) int bz_write(bz_stream *strm, void* rbuf, ssize_t rlen, vo
88 if (n2 != n) { 88 if (n2 != n) {
89 if (n2 >= 0) 89 if (n2 >= 0)
90 errno = 0; /* prevent bogus error message */ 90 errno = 0; /* prevent bogus error message */
91 bb_perror_msg(n2 >= 0 ? "short write" : "write error"); 91 bb_perror_msg(n2 >= 0 ? "short write" : bb_msg_write_error);
92 return -1; 92 return -1;
93 } 93 }
94 } 94 }
@@ -118,7 +118,7 @@ IF_DESKTOP(long long) int FAST_FUNC compressStream(unpack_info_t *info UNUSED_PA
118 while (1) { 118 while (1) {
119 count = full_read(STDIN_FILENO, rbuf, IOBUF_SIZE); 119 count = full_read(STDIN_FILENO, rbuf, IOBUF_SIZE);
120 if (count < 0) { 120 if (count < 0) {
121 bb_perror_msg("read error"); 121 bb_perror_msg(bb_msg_read_error);
122 total = -1; 122 total = -1;
123 break; 123 break;
124 } 124 }