Fix from Peter Froehlich
This commit is contained in:
parent
38eee5bca7
commit
b08d16f61d
1 changed files with 1 additions and 1 deletions
2
wc.c
2
wc.c
|
@ -44,7 +44,7 @@ main(int argc, char *argv[])
|
|||
|
||||
for(i = 1; i < argc; i++){
|
||||
if((fd = open(argv[i], 0)) < 0){
|
||||
printf(1, "cat: cannot open %s\n", argv[i]);
|
||||
printf(1, "wc: cannot open %s\n", argv[i]);
|
||||
exit();
|
||||
}
|
||||
wc(fd, argv[i]);
|
||||
|
|
Loading…
Reference in a new issue