diff options
author | Nathan Scott <nathans@sgi.com> | 2003-03-03 22:40:05 +0000 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2003-03-03 22:40:05 +0000 |
commit | 66ba00f30d97db585977f97177b02e2653df8503 (patch) | |
tree | b447abf4c57699537c4a268340a7cd54fecf65e9 /setfacl | |
parent | 1b200578a5ef4241a4c91a82bd5898a9230d06c5 (diff) | |
download | acl-66ba00f30d97db585977f97177b02e2653df8503.tar.gz |
Tweak error reporting (patch from AndreasG) - also show path on error.
Diffstat (limited to 'setfacl')
-rw-r--r-- | setfacl/setfacl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/setfacl/setfacl.c b/setfacl/setfacl.c index fd0945f..fb02dd6 100644 --- a/setfacl/setfacl.c +++ b/setfacl/setfacl.c @@ -309,7 +309,8 @@ int walk_tree(const char *file, seq_t seq) __errors = 0; __seq = seq; if (nftw(file, __do_set, 0, opt_walk_physical * FTW_PHYS) < 0) { - fprintf(stderr, "%s: %s\n", progname, strerror(errno)); + fprintf(stderr, "%s: %s: %s\n", progname, + file, strerror(errno)); __errors++; } return __errors; |