Browse Source

bitforce: Log when zero queued results are received

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

+ 3 - 0
driver-bitforce.c

@@ -1372,7 +1372,10 @@ bool bitforce_queue_do_results(struct thr_info *thr)
 	count = bitforce_zox(thr, "ZOX");
 	count = bitforce_zox(thr, "ZOX");
 	
 	
 	if (!count)
 	if (!count)
+	{
+		applog(LOG_DEBUG, "%"PRIpreprv": Received 0 queued results on poll", bitforce->proc_repr);
 		return true;
 		return true;
+	}
 	
 	
 	if (unlikely(count < 0))
 	if (unlikely(count < 0))
 	{
 	{