diff options
Diffstat (limited to 'commands/rmdir.c')
-rw-r--r-- | commands/rmdir.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/commands/rmdir.c b/commands/rmdir.c index e1cd5dc548..44793ca56e 100644 --- a/commands/rmdir.c +++ b/commands/rmdir.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <command.h> #include <fs.h> @@ -12,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++; |