aboutsummaryrefslogtreecommitdiff
path: root/bin/gensquashfs/src/mkfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gensquashfs/src/mkfs.c')
-rw-r--r--bin/gensquashfs/src/mkfs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/gensquashfs/src/mkfs.c b/bin/gensquashfs/src/mkfs.c
index 488d015..8019d24 100644
--- a/bin/gensquashfs/src/mkfs.c
+++ b/bin/gensquashfs/src/mkfs.c
@@ -153,10 +153,8 @@ int main(int argc, char **argv)
if (fstree_post_process(&sqfs.fs))
goto out;
- if (apply_xattrs(&sqfs.fs, opt.packdir, sehnd, xattrmap,
- sqfs.xwr, opt.infile == NULL && opt.scan_xattr)) {
+ if (apply_xattrs(&sqfs.fs, &opt, sehnd, xattrmap, sqfs.xwr))
goto out;
- }
if (sortfile != NULL) {
if (fstree_sort_files(&sqfs.fs, sortfile))