summaryrefslogtreecommitdiff
path: root/archival/cpio.c
diff options
context:
space:
mode:
authorGlenn L McGrath2001-10-13 19:43:46 +0000
committerGlenn L McGrath2001-10-13 19:43:46 +0000
commit4bef7b41861f02874bce4ac6ab0c8c2484d41d07 (patch)
tree68cc6368c5bdca2b2d34213bc66b978fd7a26b03 /archival/cpio.c
parent051eee6ed3056145edeee14d7ab4de9e2f723164 (diff)
downloadbusybox-4bef7b41861f02874bce4ac6ab0c8c2484d41d07.zip
busybox-4bef7b41861f02874bce4ac6ab0c8c2484d41d07.tar.gz
unarchive function changed to support both exclude and include lists, applets that use unarchive changed to match.
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 7f68715..372f9f5 100644
--- a/archival/cpio.c
+++ b/archival/cpio.c
@@ -86,7 +86,7 @@ extern int cpio_main(int argc, char **argv)
optind++;
}
- unarchive(src_stream, stdout, &get_header_cpio, extract_function, "./", extract_names);
+ unarchive(src_stream, stdout, &get_header_cpio, extract_function, "./", extract_names, NULL);
if (oldmask) {
umask(oldmask); /* Restore umask if we changed it */
}