summaryrefslogtreecommitdiffstats
path: root/commands/rmdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/rmdir.c')
-rw-r--r--commands/rmdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/rmdir.c b/commands/rmdir.c
index 9b2938a556..44793ca56e 100644
--- a/commands/rmdir.c
+++ b/commands/rmdir.c
@@ -14,7 +14,7 @@ static int do_rmdir(int argc, char *argv[])
while (i < argc) {
if (rmdir(argv[i])) {
- printf("could not remove %s: %s\n", argv[i], errno_str());
+ printf("could not remove %s: %m\n", argv[i]);
return 1;
}
i++;