aboutsummaryrefslogtreecommitdiff
path: root/archival/libunarchive
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-09-28 23:45:56 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-09-28 23:45:56 +0000
commit66bbfbd581669dfada661c2de5d15187be61f786 (patch)
tree1da0b2a490f4053824b78a1ecc18b4b9a09f1354 /archival/libunarchive
parent3d2a9217a7d06d167d722cb4eabf7a29232d7bcd (diff)
downloadbusybox-66bbfbd581669dfada661c2de5d15187be61f786.tar.gz
bunzip2: trim verbose messages
text data bss dec hex filename 770752 1029 9696 781477 beca5 busybox_old 770691 1029 9696 781416 bec68 busybox_unstripped
Diffstat (limited to 'archival/libunarchive')
-rw-r--r--archival/libunarchive/decompress_bunzip2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/archival/libunarchive/decompress_bunzip2.c b/archival/libunarchive/decompress_bunzip2.c
index fe1d3ff1c..17b87e2c1 100644
--- a/archival/libunarchive/decompress_bunzip2.c
+++ b/archival/libunarchive/decompress_bunzip2.c
@@ -725,14 +725,14 @@ unpack_bz2_stream(int src_fd, int dst_fd)
if (i == RETVAL_LAST_BLOCK) {
if (bd->headerCRC != bd->totalCRC) {
- bb_error_msg("data integrity error when decompressing");
+ bb_error_msg("CRC error");
} else {
i = RETVAL_OK;
}
} else if (i == RETVAL_UNEXPECTED_OUTPUT_EOF) {
- bb_error_msg("compressed file ends unexpectedly");
+ bb_error_msg("unexpected EOF");
} else {
- bb_error_msg("decompression failed");
+ bb_error_msg("bunzip error %d", i);
}
dealloc_bunzip(bd);
free(outbuf);