summaryrefslogtreecommitdiff
path: root/mkfs/mkfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mkfs/mkfs.c')
-rw-r--r--mkfs/mkfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkfs/mkfs.c b/mkfs/mkfs.c
index d028a9d..56f8842 100644
--- a/mkfs/mkfs.c
+++ b/mkfs/mkfs.c
@@ -116,6 +116,9 @@ int main(int argc, char **argv)
if (id_table_write(&info.idtbl, info.outfd, &info.super, info.cmp))
goto out_cmp;
+ if (write_xattr(&info))
+ goto out_cmp;
+
if (sqfs_super_write(&info.super, info.outfd))
goto out_cmp;