summaryrefslogtreecommitdiff
path: root/archival/cpio.c
diff options
context:
space:
mode:
authorGlenn L McGrath2001-07-11 17:32:14 +0000
committerGlenn L McGrath2001-07-11 17:32:14 +0000
commitc1270088401f1e3f4f8a6bfa2ff5b7228c4a8da0 (patch)
tree06b6690e1666bbdccc2b7bb809f3c1bbd8ce2ac3 /archival/cpio.c
parent481d19b38e068e7db8459cb0e108f8049ce5919d (diff)
downloadbusybox-c1270088401f1e3f4f8a6bfa2ff5b7228c4a8da0.zip
busybox-c1270088401f1e3f4f8a6bfa2ff5b7228c4a8da0.tar.gz
Allow unarchive to redirect stdout (tobe used by dpkg applet)
Diffstat (limited to 'archival/cpio.c')
-rw-r--r--archival/cpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/cpio.c b/archival/cpio.c
index 101d6ec..12a4340 100644
--- a/archival/cpio.c
+++ b/archival/cpio.c
@@ -85,7 +85,7 @@ extern int cpio_main(int argc, char **argv)
optind++;
}
- unarchive(src_stream, &get_header_cpio, extract_function, "./", extract_names);
+ unarchive(src_stream, stdout, &get_header_cpio, extract_function, "./", extract_names);
if (oldmask) umask(oldmask); /* Restore umask if we changed it */
return EXIT_SUCCESS;
}