diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2001-06-20 07:54:15 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2001-06-20 07:54:15 +0000 |
commit | 8e74bf94f36f254767da1f48d3752068e92aea46 (patch) | |
tree | 9f277f3867c360c1d209e27fb5795d2fdc5c59fe /archival/tar.c | |
parent | eb1c94078f35d1b6e48741122c8bb9426befc5eb (diff) | |
download | busybox-w32-8e74bf94f36f254767da1f48d3752068e92aea46.tar.gz busybox-w32-8e74bf94f36f254767da1f48d3752068e92aea46.tar.bz2 busybox-w32-8e74bf94f36f254767da1f48d3752068e92aea46.zip |
Changed gz_open to ruturn a stream
Diffstat (limited to 'archival/tar.c')
-rw-r--r-- | archival/tar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/tar.c b/archival/tar.c index f31859e33..0cb638a7f 100644 --- a/archival/tar.c +++ b/archival/tar.c | |||
@@ -274,7 +274,7 @@ extern int tar_main(int argc, char **argv) | |||
274 | /* unzip tarFd in a seperate process */ | 274 | /* unzip tarFd in a seperate process */ |
275 | if (unzipFlag == TRUE) { | 275 | if (unzipFlag == TRUE) { |
276 | comp_file = fdopen(tarFd, "r"); | 276 | comp_file = fdopen(tarFd, "r"); |
277 | if ((tarFd = gz_open(comp_file, &pid)) == EXIT_FAILURE) { | 277 | if ((tarFd = fileno(gz_open(comp_file, &pid))) == EXIT_FAILURE) { |
278 | error_msg_and_die("Couldnt unzip file"); | 278 | error_msg_and_die("Couldnt unzip file"); |
279 | } | 279 | } |
280 | } | 280 | } |