aboutsummaryrefslogtreecommitdiff
path: root/archival/gunzip.c
diff options
context:
space:
mode:
Diffstat (limited to 'archival/gunzip.c')
-rw-r--r--archival/gunzip.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/archival/gunzip.c b/archival/gunzip.c
index 7d382b895..f229ae524 100644
--- a/archival/gunzip.c
+++ b/archival/gunzip.c
@@ -179,11 +179,10 @@ extern int gunzip_main(int argc, char **argv)
#endif
if (magic2 == 0x8b) {
check_header_gzip(src_fd);
- status = inflate(src_fd, dst_fd);
+ status = inflate_gunzip(src_fd, dst_fd);
if (status != 0) {
bb_error_msg_and_die("Error inflating");
}
- check_trailer_gzip(src_fd);
} else {
bb_error_msg_and_die("Invalid magic");
}