summaryrefslogtreecommitdiff
path: root/tar/tar2sqfs.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-07-27 18:10:38 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-07-28 16:33:57 +0200
commit3a795ed32935968218ce6feb8ab2459e8c215ee8 (patch)
tree756c0d13603bd131d38f7fcc6d2093cbbffaaad2 /tar/tar2sqfs.c
parentf7fa69e896f0971629f938be93cb30865f92943c (diff)
Add some nice statistics output to tar2sqfs and gensquashfs
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tar/tar2sqfs.c')
-rw-r--r--tar/tar2sqfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tar/tar2sqfs.c b/tar/tar2sqfs.c
index 836df21..ffb1c99 100644
--- a/tar/tar2sqfs.c
+++ b/tar/tar2sqfs.c
@@ -429,6 +429,9 @@ int main(int argc, char **argv)
if (padd_file(outfd, super.bytes_used, devblksize))
goto out;
+ if (!quiet)
+ sqfs_print_statistics(&fs, &super);
+
status = EXIT_SUCCESS;
out:
id_table_cleanup(&idtbl);