From b452860634f5b219d11a85a824786ef91731fee7 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Thu, 23 Nov 2017 22:26:15 +1300 Subject: Quick hack to protect against shortening numbers --- sand-leek.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.1