summaryrefslogtreecommitdiff
path: root/getfattr/getfattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'getfattr/getfattr.c')
-rw-r--r--getfattr/getfattr.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/getfattr/getfattr.c b/getfattr/getfattr.c
index 4932a64..aeb29d7 100644
--- a/getfattr/getfattr.c
+++ b/getfattr/getfattr.c
@@ -221,11 +221,9 @@ int do_get_all(const char *path, struct stat *stat, void *dummy)
listsize = do_listxattr(path, NULL, 0);
if (listsize < 0) {
- if (errno != ENOATTR && errno != ENOTSUP) {
- perror(path);
- had_errors++;
- return 1;
- }
+ perror(path);
+ had_errors++;
+ return 1;
} else if (listsize > 0) {
if (high_water_alloc((void **)&list, &bufsize, listsize))
return 1;