diff options
author | Nathan Scott <nathans@sgi.com> | 2003-08-28 22:59:53 +0000 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2003-08-28 22:59:53 +0000 |
commit | cb3f502e3a44a2225b0b3e8a3598de7f872a7266 (patch) | |
tree | cce796e2073e0d3f988b746b458dc17ea1c1e9d9 /getfattr | |
parent | d0369347d419fead26ecb00af7e44d82872f633f (diff) | |
download | attr-cb3f502e3a44a2225b0b3e8a3598de7f872a7266.tar.gz |
attr/acl nftw error handling fix from AndreasG
Diffstat (limited to 'getfattr')
-rw-r--r-- | getfattr/getfattr.c | 2 |
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)); |