diff options
Diffstat (limited to 'archival/bzip2.c')
-rw-r--r-- | archival/bzip2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/bzip2.c b/archival/bzip2.c index 38cc0219a..d0390a92a 100644 --- a/archival/bzip2.c +++ b/archival/bzip2.c | |||
@@ -145,7 +145,7 @@ IF_DESKTOP(long long) int bz_write(bz_stream *strm, void* rbuf, ssize_t rlen, vo | |||
145 | if (n2 != n) { | 145 | if (n2 != n) { |
146 | if (n2 >= 0) | 146 | if (n2 >= 0) |
147 | errno = 0; /* prevent bogus error message */ | 147 | errno = 0; /* prevent bogus error message */ |
148 | bb_perror_msg(n2 >= 0 ? "short write" : bb_msg_write_error); | 148 | bb_simple_perror_msg(n2 >= 0 ? "short write" : bb_msg_write_error); |
149 | return -1; | 149 | return -1; |
150 | } | 150 | } |
151 | } | 151 | } |
@@ -187,7 +187,7 @@ IF_DESKTOP(long long) int FAST_FUNC compressStream(transformer_state_t *xstate U | |||
187 | while (1) { | 187 | while (1) { |
188 | count = full_read(STDIN_FILENO, rbuf, IOBUF_SIZE); | 188 | count = full_read(STDIN_FILENO, rbuf, IOBUF_SIZE); |
189 | if (count < 0) { | 189 | if (count < 0) { |
190 | bb_perror_msg(bb_msg_read_error); | 190 | bb_simple_perror_msg(bb_msg_read_error); |
191 | total = -1; | 191 | total = -1; |
192 | break; | 192 | break; |
193 | } | 193 | } |