Browse Source

Bugfix: bitforce: Include the correct device id in "garbled response" warning

Luke Dashjr 13 years ago
parent
commit
6f11522b53
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-bitforce.c

+ 1 - 1
driver-bitforce.c

@@ -274,7 +274,7 @@ static bool bitforce_get_temp(struct cgpu_info *bitforce)
 		/* Use the temperature monitor as a kind of watchdog for when
 		/* Use the temperature monitor as a kind of watchdog for when
 		 * our responses are out of sync and flush the buffer to
 		 * our responses are out of sync and flush the buffer to
 		 * hopefully recover */
 		 * hopefully recover */
-		applog(LOG_WARNING, "BFL%i: Garbled response probably throttling, clearing buffer");
+		applog(LOG_WARNING, "BFL%i: Garbled response probably throttling, clearing buffer", bitforce->device_id);
 		bitforce_clear_buffer(bitforce);
 		bitforce_clear_buffer(bitforce);
 		return false;;
 		return false;;
 	}
 	}