From 6998ba2359fe06b3bb7a00130a381002aced0143 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 27 Oct 2018 14:04:44 -0500 Subject: Dirtree shouldn't put a "No" in front of filename for "permission denied". --- lib/dirtree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3