Fix from Peter Froehlich

This commit is contained in:
Frans Kaashoek 2012-08-22 20:07:04 -04:00
parent 38eee5bca7
commit b08d16f61d

2
wc.c
View file

@ -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]);