summaryrefslogtreecommitdiff
path: root/tar
diff options
context:
space:
mode:
Diffstat (limited to 'tar')
-rw-r--r--tar/sqfs2tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tar/sqfs2tar.c b/tar/sqfs2tar.c
index af9e9ca..0ca0f72 100644
--- a/tar/sqfs2tar.c
+++ b/tar/sqfs2tar.c
@@ -432,7 +432,7 @@ int main(int argc, char **argv)
goto out_data;
}
- if (!no_xattr && (super.flags & SQFS_FLAG_NO_XATTRS)) {
+ if (!no_xattr && !(super.flags & SQFS_FLAG_NO_XATTRS)) {
xr = sqfs_xattr_reader_create(file, &super, cmp);
if (xr == NULL) {
goto out_dr;