summaryrefslogtreecommitdiff
path: root/mkfs/mkfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mkfs/mkfs.c')
-rw-r--r--mkfs/mkfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkfs/mkfs.c b/mkfs/mkfs.c
index 77e9581..50e2ce5 100644
--- a/mkfs/mkfs.c
+++ b/mkfs/mkfs.c
@@ -129,7 +129,7 @@ int main(int argc, char **argv)
if (id_table_write(&info.idtbl, info.outfd, &info.super, info.cmp))
goto out_data;
- if (write_xattr(&info))
+ if (write_xattr(info.outfd, &info.fs, &info.super, info.cmp))
goto out_data;
if (sqfs_super_write(&info.super, info.outfd))