summaryrefslogtreecommitdiff
path: root/mkfs/mkfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mkfs/mkfs.c')
-rw-r--r--mkfs/mkfs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mkfs/mkfs.c b/mkfs/mkfs.c
index 405d6fd..7c3fa28 100644
--- a/mkfs/mkfs.c
+++ b/mkfs/mkfs.c
@@ -114,8 +114,10 @@ int main(int argc, char **argv)
if (write_data_to_image(&info))
goto out_cmp;
- if (sqfs_write_inodes(&info))
+ if (sqfs_write_inodes(&info.super, &info.fs, info.outfd,
+ info.cmp, &info.idtbl)) {
goto out_cmp;
+ }
info.super.fragment_entry_count = info.num_fragments;