diff options
Diffstat (limited to 'commands/ls.c')
-rw-r--r-- | commands/ls.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/ls.c b/commands/ls.c index 1192aed971..09a20e0a23 100644 --- a/commands/ls.c +++ b/commands/ls.c @@ -164,8 +164,7 @@ static int do_ls(int argc, char *argv[]) while (o < argc) { ret = stat(argv[o], &s); if (ret) { - printf("%s: %s: %s\n", argv[0], - argv[o], errno_str()); + printf("%s: %s: %m\n", argv[0], argv[o]); o++; exitcode = COMMAND_ERROR; continue; |