From cad5364599eb5062d59e0c397ed638ddd61a8d5d Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Wed, 19 Mar 2003 09:13:01 +0000 Subject: Major coreutils update. --- archival/libunarchive/uncompress.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'archival/libunarchive/uncompress.c') diff --git a/archival/libunarchive/uncompress.c b/archival/libunarchive/uncompress.c index 192e98126..9851ca39d 100644 --- a/archival/libunarchive/uncompress.c +++ b/archival/libunarchive/uncompress.c @@ -121,14 +121,14 @@ extern int uncompress(int fd_in, int fd_out) insize = 0; - inbuf[0] = xread_char(fd_in); + inbuf[0] = bb_xread_char(fd_in); maxbits = inbuf[0] & BIT_MASK; block_mode = inbuf[0] & BLOCK_MODE; maxmaxcode = MAXCODE(maxbits); if (maxbits > BITS) { - error_msg("compressed with %d bits, can only handle %d bits", maxbits, + bb_error_msg("compressed with %d bits, can only handle %d bits", maxbits, BITS); return -1; } @@ -227,11 +227,11 @@ extern int uncompress(int fd_in, int fd_out) posbits -= n_bits; p = &inbuf[posbits >> 3]; - error_msg + bb_error_msg ("insize:%d posbits:%d inbuf:%02X %02X %02X %02X %02X (%d)", insize, posbits, p[-1], p[0], p[1], p[2], p[3], (posbits & 07)); - error_msg("uncompress: corrupt input"); + bb_error_msg("uncompress: corrupt input"); return -1; } -- cgit v1.2.3