bunzip2: trim verbose messages
text data bss dec hex filename 770752 1029 9696 781477 beca5 busybox_old 770691 1029 9696 781416 bec68 busybox_unstripped
This commit is contained in:
parent
3d2a9217a7
commit
66bbfbd581
@ -725,14 +725,14 @@ unpack_bz2_stream(int src_fd, int dst_fd)
|
|||||||
|
|
||||||
if (i == RETVAL_LAST_BLOCK) {
|
if (i == RETVAL_LAST_BLOCK) {
|
||||||
if (bd->headerCRC != bd->totalCRC) {
|
if (bd->headerCRC != bd->totalCRC) {
|
||||||
bb_error_msg("data integrity error when decompressing");
|
bb_error_msg("CRC error");
|
||||||
} else {
|
} else {
|
||||||
i = RETVAL_OK;
|
i = RETVAL_OK;
|
||||||
}
|
}
|
||||||
} else if (i == RETVAL_UNEXPECTED_OUTPUT_EOF) {
|
} else if (i == RETVAL_UNEXPECTED_OUTPUT_EOF) {
|
||||||
bb_error_msg("compressed file ends unexpectedly");
|
bb_error_msg("unexpected EOF");
|
||||||
} else {
|
} else {
|
||||||
bb_error_msg("decompression failed");
|
bb_error_msg("bunzip error %d", i);
|
||||||
}
|
}
|
||||||
dealloc_bunzip(bd);
|
dealloc_bunzip(bd);
|
||||||
free(outbuf);
|
free(outbuf);
|
||||||
|
Loading…
Reference in New Issue
Block a user