summaryrefslogtreecommitdiff
path: root/getfattr
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2003-08-28 22:59:53 +0000
committerNathan Scott <nathans@sgi.com>2003-08-28 22:59:53 +0000
commitcb3f502e3a44a2225b0b3e8a3598de7f872a7266 (patch)
treecce796e2073e0d3f988b746b458dc17ea1c1e9d9 /getfattr
parentd0369347d419fead26ecb00af7e44d82872f633f (diff)
downloadattr-cb3f502e3a44a2225b0b3e8a3598de7f872a7266.tar.gz
attr/acl nftw error handling fix from AndreasG
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 e8ed902..94d3653 100644
--- a/getfattr/getfattr.c
+++ b/getfattr/getfattr.c
@@ -349,7 +349,7 @@ int do_print(const char *path, const struct stat *stat,
{
int header_printed = 0;
- if (flag & FTW_DNR) {
+ if (flag == FTW_DNR) {
/* Item is a directory which can't be read. */
fprintf(stderr, "%s: %s: %s\n", progname, xquote(path),
strerror(errno));