summaryrefslogtreecommitdiff
path: root/tar/tar2sqfs.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-08-19 23:17:03 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-08-19 23:17:03 +0200
commitb7faff24bb44d32dd316144dc3f9091937772d2d (patch)
tree382c86810945c48371510b7eaf41abf984e57933 /tar/tar2sqfs.c
parentefa0a169344894ac922a4e4f088577f6560a232c (diff)
Fix packer statistics
Needs regenerating of the file list that was ripped up and rearranged during file packing. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tar/tar2sqfs.c')
-rw-r--r--tar/tar2sqfs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tar/tar2sqfs.c b/tar/tar2sqfs.c
index ed3aea1..dd602f5 100644
--- a/tar/tar2sqfs.c
+++ b/tar/tar2sqfs.c
@@ -437,8 +437,10 @@ int main(int argc, char **argv)
if (padd_file(outfd, super.bytes_used, devblksize))
goto out;
- if (!quiet)
+ if (!quiet) {
+ fstree_gen_file_list(&fs);
sqfs_print_statistics(&fs, &super);
+ }
status = EXIT_SUCCESS;
out: