aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/ls.c')
-rw-r--r--toys/posix/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/ls.c b/toys/posix/ls.c
index d313457a..5177dd9a 100644
--- a/toys/posix/ls.c
+++ b/toys/posix/ls.c
@@ -293,7 +293,7 @@ static void listfiles(int dirfd, struct dirtree *indir)
if (-1 == dirfd) {
strwidth(indir->name);
- perror_msg("%s", indir->name);
+ perror_msg_raw(indir->name);
return;
}