aboutsummaryrefslogtreecommitdiff
path: root/tar
diff options
context:
space:
mode:
Diffstat (limited to 'tar')
-rw-r--r--tar/tar2sqfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tar/tar2sqfs.c b/tar/tar2sqfs.c
index 36f8cd6..f583fd4 100644
--- a/tar/tar2sqfs.c
+++ b/tar/tar2sqfs.c
@@ -397,7 +397,7 @@ int main(int argc, char **argv)
if (process_tar_ball(&fs, data))
goto out;
- if (data_writer_flush_fragments(data))
+ if (data_writer_sync(data))
goto out;
tree_node_sort_recursive(fs.root);