15 lines
582 B
Diff
15 lines
582 B
Diff
--- md5deep-4.3.patched/src/display.cpp 2013-04-14 18:22:37.512819799 +0200
|
|
+++ md5deep-4.3/src/display.cpp 2012-06-05 13:00:57.000000000 +0200
|
|
@@ -309,9 +309,9 @@
|
|
uint64_t min = seconds/60;
|
|
seconds -= min * 60;
|
|
|
|
- ss << mb_read << "MB of " << fdht->stat_megs() << "MB done, ";
|
|
char msg[64];
|
|
+ snprintf(msg,sizeof(msg),"%lluMB of %lluMB done, %02"PRIu64":%02"PRIu64":%02"PRIu64" left",
|
|
+ mb_read, fdht->stat_megs(), hour, min, seconds);
|
|
- snprintf(msg,sizeof(msg),"%02"PRIu64":%02"PRIu64":%02"PRIu64" left", hour, min, seconds);
|
|
ss << msg;
|
|
}
|
|
ss << "\r";
|