diff options
author | fsgqa <fsgqa> | 2002-02-25 22:34:31 +0000 |
---|---|---|
committer | fsgqa <fsgqa> | 2002-02-25 22:34:31 +0000 |
commit | 27204a8361ff975ddf3a60b95cc24f4e5ec7bed8 (patch) | |
tree | 4ac37362fa90563366fdff031d66cfb09a54b7ca /getfattr/getfattr.c | |
parent | 5fd2efab91926933a65066d16b7d17c6366ab038 (diff) | |
download | attr-27204a8361ff975ddf3a60b95cc24f4e5ec7bed8.tar.gz |
Merge of xfs-cmds-2.4.18:slinx:111986a by nathans.
Don't filter out ENOTSUP errors.
Diffstat (limited to 'getfattr/getfattr.c')
-rw-r--r-- | getfattr/getfattr.c | 8 |
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; |