Skip to content
Snippets Groups Projects
Commit b08d16f6 authored by Frans Kaashoek's avatar Frans Kaashoek
Browse files

Fix from Peter Froehlich

parent 38eee5bc
No related branches found
No related tags found
No related merge requests found
......@@ -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]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment