diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-10 06:16:43 +0400 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-10 06:16:43 +0400 |
commit | ff0e875e02487b61dcc520b295feb6477b859065 (patch) | |
tree | 234845d306bf04446b9839c51b06d18d5f9dc9a6 /archival/cpio.c | |
parent | 572b9a3019caf0929a41a45e1f3a8c7e59ec141c (diff) |
work on adding testsuite runs to randomconfig test builds
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/cpio.c')
-rw-r--r-- | archival/cpio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/archival/cpio.c b/archival/cpio.c index 2698f0791..e0ca7fa5c 100644 --- a/archival/cpio.c +++ b/archival/cpio.c @@ -311,6 +311,7 @@ int cpio_main(int argc UNUSED_PARAM, char **argv) /* no parameters */ opt_complementary = "=0"; opt = getopt32(argv, OPTION_STR, &cpio_filename); + argv += optind; if (opt & CPIO_OPT_FILE) { /* -F */ xmove_fd(xopen(cpio_filename, O_RDONLY), STDIN_FILENO); } |