diff options
Diffstat (limited to 'getfattr/getfattr.c')
-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)); |