Browse Source

Bugfix: Don't try to log abandon time, since we aren't keeping track reasonably

Luke Dashjr 13 years ago
parent
commit
0f02012e0c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      driver-bitforce.c

+ 2 - 2
driver-bitforce.c

@@ -335,8 +335,8 @@ static inline int noisy_stale_wait(unsigned int mstime, struct work*work, bool c
 {
 	int rv = stale_wait(mstime, work, checkend);
 	if (rv)
-		applog(LOG_NOTICE, "BFL%i: Abandoning stale search to restart after %ums",
-		       bitforce->device_id, bitforce->wait_ms);
+		applog(LOG_NOTICE, "BFL%i: Abandoning stale search to restart",
+		       bitforce->device_id);
 	return rv;
 }
 #define noisy_stale_wait(mstime, work, checkend)  noisy_stale_wait(mstime, work, checkend, bitforce)