aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-11-23 22:26:15 +1300
committerDavid Phillips <david@sighup.nz>2017-11-23 22:26:15 +1300
commitb452860634f5b219d11a85a824786ef91731fee7 (patch)
treeb5d88a04394f476e828ab9d35065c142804c63e0
parent2cc28c7a25a91c9f7f31e73a8fd0780a0c865666 (diff)
downloadsand-leek-b452860634f5b219d11a85a824786ef91731fee7.tar.xz
Quick hack to protect against shortening numbers
-rw-r--r--sand-leek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sand-leek.c b/sand-leek.c
index 5f37974..eebabec 100644
--- a/sand-leek.c
+++ b/sand-leek.c
@@ -290,7 +290,7 @@ monitor_progress(unsigned long volatile *khashes, int thread_count) {
hours = delta % 24; delta -= hours ; delta /= 24;
days = delta % 24;
- iprintf("[%02d:%02d:%02d:%02d]: %.2f %s hashes%s. Now ~%lu kH/s (%.2f kH/s/thread)\r",
+ iprintf("[%02d:%02d:%02d:%02d]: %.2f %s hashes%s. Now ~%lu kH/s (%.2f kH/s/thread) \r",
days, hours, minutes, seconds,
hashes_nice, hashes_nice_unit, (hashes_nice > 1000 ? " (!!)" : ""),
total_khashes - last_total_khashes,