summaryrefslogtreecommitdiffstats
path: root/commands/mkdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/mkdir.c')
-rw-r--r--commands/mkdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/mkdir.c b/commands/mkdir.c
index e7153b8732..01fc0b083b 100644
--- a/commands/mkdir.c
+++ b/commands/mkdir.c
@@ -37,7 +37,7 @@ static int do_mkdir(int argc, char *argv[])
ret = mkdir(argv[optind], 0);
}
if (ret) {
- printf("could not create %s: %s\n", argv[optind], errno_str());
+ printf("could not create %s: %m\n", argv[optind]);
return 1;
}
optind++;