summaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorGlenn L McGrath2001-06-20 07:54:15 +0000
committerGlenn L McGrath2001-06-20 07:54:15 +0000
commit8e74bf94f36f254767da1f48d3752068e92aea46 (patch)
tree9f277f3867c360c1d209e27fb5795d2fdc5c59fe /archival
parenteb1c94078f35d1b6e48741122c8bb9426befc5eb (diff)
downloadbusybox-8e74bf94f36f254767da1f48d3752068e92aea46.zip
busybox-8e74bf94f36f254767da1f48d3752068e92aea46.tar.gz
Changed gz_open to ruturn a stream
Diffstat (limited to 'archival')
-rw-r--r--archival/tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/tar.c b/archival/tar.c
index f31859e..0cb638a 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -274,7 +274,7 @@ extern int tar_main(int argc, char **argv)
/* unzip tarFd in a seperate process */
if (unzipFlag == TRUE) {
comp_file = fdopen(tarFd, "r");
- if ((tarFd = gz_open(comp_file, &pid)) == EXIT_FAILURE) {
+ if ((tarFd = fileno(gz_open(comp_file, &pid))) == EXIT_FAILURE) {
error_msg_and_die("Couldnt unzip file");
}
}