Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61828
b: refs/heads/master
c: f2434ec
h: refs/heads/master
v: v3
  • Loading branch information
Mike Frysinger authored and Sam Ravnborg committed Jul 16, 2007
1 parent 7c68a5a commit c68be6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e99c343f169cdcb43f1508873a3c9e19ffe4c64a
refs/heads/master: f2434ec1e08e44c2568b29c2879b3346aa29dbd2
4 changes: 3 additions & 1 deletion trunk/usr/gen_init_cpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,9 @@ int main (int argc, char *argv[])
exit(1);
}

if (! (cpio_list = fopen(argv[1], "r"))) {
if (!strcmp(argv[1], "-"))
cpio_list = stdin;
else if (! (cpio_list = fopen(argv[1], "r"))) {
fprintf(stderr, "ERROR: unable to open '%s': %s\n\n",
argv[1], strerror(errno));
usage(argv[0]);
Expand Down

0 comments on commit c68be6e

Please sign in to comment.