fix error message
This commit is contained in:
parent
115e177400
commit
61dff66b35
1 changed files with 1 additions and 1 deletions
2
rm.c
2
rm.c
|
@ -14,7 +14,7 @@ main(int argc, char *argv[])
|
|||
|
||||
for(i = 1; i < argc; i++){
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue