summaryrefslogtreecommitdiff
path: root/tar/sqfs2tar.c
diff options
context:
space:
mode:
Diffstat (limited to 'tar/sqfs2tar.c')
-rw-r--r--tar/sqfs2tar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tar/sqfs2tar.c b/tar/sqfs2tar.c
index 5a786dd..2e4d0ef 100644
--- a/tar/sqfs2tar.c
+++ b/tar/sqfs2tar.c
@@ -611,14 +611,14 @@ int main(int argc, char **argv)
}
if (!no_xattr && !(super.flags & SQFS_FLAG_NO_XATTRS)) {
- xr = sqfs_xattr_reader_create(file, &super, cmp);
+ xr = sqfs_xattr_reader_create(0);
if (xr == NULL) {
sqfs_perror(filename, "creating xattr reader",
SQFS_ERROR_ALLOC);
goto out_dr;
}
- ret = sqfs_xattr_reader_load_locations(xr);
+ ret = sqfs_xattr_reader_load(xr, &super, file, cmp);
if (ret) {
sqfs_perror(filename, "loading xattr table", ret);
goto out_xr;