aboutsummaryrefslogtreecommitdiff
path: root/tar.c
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-06-20 07:54:15 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-06-20 07:54:15 +0000
commit6705dbb267b80eacc891e9848296a6686c2b62d9 (patch)
tree9f277f3867c360c1d209e27fb5795d2fdc5c59fe /tar.c
parent6b3952392e20d78ddf4ef906bc0ee44d040c72da (diff)
downloadbusybox-w32-6705dbb267b80eacc891e9848296a6686c2b62d9.tar.gz
busybox-w32-6705dbb267b80eacc891e9848296a6686c2b62d9.tar.bz2
busybox-w32-6705dbb267b80eacc891e9848296a6686c2b62d9.zip
Changed gz_open to ruturn a stream
git-svn-id: svn://busybox.net/trunk/busybox@2863 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'tar.c')
-rw-r--r--tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tar.c b/tar.c
index f31859e33..0cb638a7f 100644
--- a/tar.c
+++ b/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 }