FreeCalypso > hg > freecalypso-tools
diff loadtools/flerase.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 | ba9523ca6ed8 |
children |
line wrap: on
line diff
--- a/loadtools/flerase.c Wed Mar 11 01:11:34 2020 +0000 +++ b/loadtools/flerase.c Wed Mar 11 04:15:45 2020 +0000 @@ -74,7 +74,7 @@ duration = finish_time - start_time; mm = duration / 60; ss = duration - mm * 60; - printf("Operation completed in %um%us\n", mm, ss); + printf("Operation completed in %um%02us\n", mm, ss); return(0); } @@ -127,6 +127,6 @@ duration = finish_time - start_time; mm = duration / 60; ss = duration - mm * 60; - printf("Operation completed in %um%us\n", mm, ss); + printf("Operation completed in %um%02us\n", mm, ss); return(0); }