diff loadtools/ltdump.c @ 692:185c9bf208d3

loadtools operation time reporting: two digits for seconds
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 11 Mar 2020 04:15:45 +0000
parents 141372e0d28f
children
line wrap: on
line diff
--- a/loadtools/ltdump.c	Wed Mar 11 01:11:34 2020 +0000
+++ b/loadtools/ltdump.c	Wed Mar 11 04:15:45 2020 +0000
@@ -177,7 +177,7 @@
 	duration = dump_last_time - dump_initial_time;
 	mm = duration / 60;
 	ss = duration - mm * 60;
-	printf("Dump stream received in %um%us\n", mm, ss);
+	printf("Dump stream received in %um%02us\n", mm, ss);
 
 	printf("Requesting another CRC-32 of the area from target...\n");
 	rc = crc32_on_target(start_addr, area_len, &target_crc_fin);