fix error message

This commit is contained in:
rsc 2007-08-08 09:30:58 +00:00
parent 115e177400
commit 61dff66b35

2
rm.c
View file

@ -14,7 +14,7 @@ main(int argc, char *argv[])
for(i = 1; i < argc; i++){ for(i = 1; i < argc; i++){
if(unlink(argv[i]) < 0) { if(unlink(argv[i]) < 0) {
printf(2, "mkdir: %s failed to create\n", argv[i]); printf(2, "rm: %s failed to delete\n", argv[i]);
break; break;
} }
} }