summaryrefslogtreecommitdiffhomepage
path: root/cpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpio.c')
-rw-r--r--cpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpio.c b/cpio.c
index 101d6ec49..12a4340bd 100644
--- a/cpio.c
+++ b/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;
}