aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2018-10-27 14:04:44 -0500
committerRob Landley <rob@landley.net>2018-10-27 14:04:44 -0500
commit6998ba2359fe06b3bb7a00130a381002aced0143 (patch)
treeb4547376a852c436c6cfb00b36b904fa5f7bbf04
parentc9571603db299259bca8271917688455696c14ce (diff)
downloadtoybox-6998ba2359fe06b3bb7a00130a381002aced0143.tar.gz
Dirtree shouldn't put a "No" in front of filename for "permission denied".
-rw-r--r--lib/dirtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dirtree.c b/lib/dirtree.c
index f9524a5d..b11cdacc 100644
--- a/lib/dirtree.c
+++ b/lib/dirtree.c
@@ -138,7 +138,7 @@ int dirtree_recurse(struct dirtree *node,
if (node->dirfd == -1 || !(dir = fdopendir(node->dirfd))) {
if (!(flags & DIRTREE_SHUTUP)) {
char *path = dirtree_path(node, 0);
- perror_msg("No %s", path);
+ perror_msg_raw(path);
free(path);
}
close(node->dirfd);