aboutsummaryrefslogtreecommitdiff
path: root/mkfs
diff options
context:
space:
mode:
Diffstat (limited to 'mkfs')
-rw-r--r--mkfs/mkfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkfs/mkfs.c b/mkfs/mkfs.c
index 3dc9efb..449fa81 100644
--- a/mkfs/mkfs.c
+++ b/mkfs/mkfs.c
@@ -55,7 +55,7 @@ static int pack_files(data_writer_t *data, fstree_t *fs, options_t *opt)
return -1;
}
- if (data_writer_flush_fragments(data))
+ if (data_writer_sync(data))
return -1;
return restore_working_dir(opt);