Skip to content

Commit

Permalink
Fix from Peter Froehlich
Browse files Browse the repository at this point in the history
  • Loading branch information
kaashoek committed Aug 23, 2012
1 parent 38eee5b commit b08d16f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit b08d16f

Please sign in to comment.