aboutsummaryrefslogtreecommitdiff
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)
85 optind++; 85 optind++;
86 } 86 }
87 87
88 unarchive(src_stream, &get_header_cpio, extract_function, "./", extract_names); 88 unarchive(src_stream, stdout, &get_header_cpio, extract_function, "./", extract_names);
89 if (oldmask) umask(oldmask); /* Restore umask if we changed it */ 89 if (oldmask) umask(oldmask); /* Restore umask if we changed it */
90 return EXIT_SUCCESS; 90 return EXIT_SUCCESS;
91} 91}