diff options
Diffstat (limited to 'toys/posix/rm.c')
-rw-r--r-- | toys/posix/rm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/rm.c b/toys/posix/rm.c index f591c64d..99fa8edf 100644 --- a/toys/posix/rm.c +++ b/toys/posix/rm.c @@ -69,7 +69,7 @@ static int do_rm(struct dirtree *try) skip: if (unlinkat(fd, try->name, using)) { - if (!dir || try->symlink != (char *)2) perror_msg("%s", try->name); + if (!dir || try->symlink != (char *)2) perror_msg_raw(try->name); nodelete: if (try->parent) try->parent->symlink = (char *)2; } |