summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenys Vlasenko2010-10-28 23:08:53 +0200
committerDenys Vlasenko2010-10-28 23:08:53 +0200
commitcaddfc83399ab783f032dbe23f3b10a5bd85414f (patch)
tree91dc667eaafc3846f4c7089d7393f47821df641d /libbb
parent8410ac1a073272affe8acdb0da67e5753ea051f8 (diff)
downloadbusybox-caddfc83399ab783f032dbe23f3b10a5bd85414f.zip
busybox-caddfc83399ab783f032dbe23f3b10a5bd85414f.tar.gz
decompress_bunzip2: handle concatenated .bz2 files
function old new delta unpack_bz2_stream 207 307 +100 start_bunzip 199 209 +10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 110/0) Total: 110 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r--libbb/appletlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index b32ff88..fab996c 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -75,7 +75,7 @@ static const char *unpack_usage_messages(void)
i = start_bunzip(&bd,
/* src_fd: */ -1,
- /* inbuf: */ (void *)packed_usage,
+ /* inbuf: */ packed_usage,
/* len: */ sizeof(packed_usage));
/* read_bunzip can longjmp to start_bunzip, and ultimately
* end up here with i != 0 on read data errors! Not trivial */