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 38cc021..d0390a9 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 if (n2 != n) { if (n2 >= 0) errno = 0; /* prevent bogus error message */ - bb_perror_msg(n2 >= 0 ? "short write" : bb_msg_write_error); + bb_simple_perror_msg(n2 >= 0 ? "short write" : bb_msg_write_error); return -1; } } @@ -187,7 +187,7 @@ IF_DESKTOP(long long) int FAST_FUNC compressStream(transformer_state_t *xstate U while (1) { count = full_read(STDIN_FILENO, rbuf, IOBUF_SIZE); if (count < 0) { - bb_perror_msg(bb_msg_read_error); + bb_simple_perror_msg(bb_msg_read_error); total = -1; break; } |