aboutsummaryrefslogtreecommitdiff
path: root/mkfs
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 /mkfs
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 'mkfs')
-rw-r--r--mkfs/mkfs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mkfs/mkfs.c b/mkfs/mkfs.c
index b2bdec2..5759744 100644
--- a/mkfs/mkfs.c
+++ b/mkfs/mkfs.c
@@ -191,8 +191,10 @@ int main(int argc, char **argv)
if (padd_file(outfd, super.bytes_used, opt.devblksz))
goto out_data;
- if (!opt.quiet)
+ if (!opt.quiet) {
+ fstree_gen_file_list(&fs);
sqfs_print_statistics(&fs, &super);
+ }
status = EXIT_SUCCESS;
out_data: