summaryrefslogtreecommitdiff
path: root/mkfs
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-08-16 23:13:42 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-08-18 22:44:39 +0200
commitcfe80ff9045f33375f11a285098fb15ce214372a (patch)
treecf70d1d5d29694392715c68c6d7b994d2005d6ea /mkfs
parentb45850388ea5505f4fd50cd659abe2f02aeca0b5 (diff)
Minor interface change to data writer
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
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);