summaryrefslogtreecommitdiff
path: root/getfattr
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2002-02-25 23:01:21 +0000
committerNathan Scott <nathans@sgi.com>2002-02-25 23:01:21 +0000
commitff61c40536eebdfc6fa42ad272a32710a05ea544 (patch)
treed69e4cd12d878cd08fbda21fbe025033cd387f7f /getfattr
parentaf208e0a7308642f1cfcca8fb97d5a6bb2558a30 (diff)
downloadattr-ff61c40536eebdfc6fa42ad272a32710a05ea544.tar.gz
Merge of xfs-cmds-2.4.18:slinx:112536a by nathans.
report file name on error.
Diffstat (limited to 'getfattr')
-rw-r--r--getfattr/getfattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/getfattr/getfattr.c b/getfattr/getfattr.c
index 74c2d65..00dbd4c 100644
--- a/getfattr/getfattr.c
+++ b/getfattr/getfattr.c
@@ -499,7 +499,7 @@ int main(int argc, char *argv[])
while (optind < argc) {
if (nftw(argv[optind], do_print, 0,
opt_walk_physical * FTW_PHYS) < 0) {
- fprintf(stderr, "%s: %s\n", progname,
+ fprintf(stderr, "%s: %s: %s\n", progname, argv[optind],
strerror_ea(errno));
}
optind++;