diff options
Diffstat (limited to 'tar/tar2sqfs.c')
-rw-r--r-- | tar/tar2sqfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tar/tar2sqfs.c b/tar/tar2sqfs.c index 08bb8b5..d0f2851 100644 --- a/tar/tar2sqfs.c +++ b/tar/tar2sqfs.c @@ -277,7 +277,7 @@ static int copy_xattr(tree_node_t *node, tar_header_decoded_t *hdr) } for (xattr = hdr->xattr; xattr != NULL; xattr = xattr->next) { - if (!sqfs_has_xattr(xattr->key)) { + if (sqfs_get_xattr_prefix_id(xattr->key) < 0) { fprintf(stderr, "%s: squashfs does not " "support xattr prefix of %s\n", dont_skip ? "ERROR" : "WARNING", |