Commit 70a3e885e02a73841025cd1a6c86800ce704dd00

Con Kolivas 2013-05-26T08:42:41

Change message for work not found in avalon parser.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/driver-avalon.c b/driver-avalon.c
index 3031eb3..da0ee74 100644
--- a/driver-avalon.c
+++ b/driver-avalon.c
@@ -654,7 +654,8 @@ static void avalon_parse_results(struct cgpu_info *avalon, struct avalon_info *i
 		 * work result. */
 		if (spare < (int)AVALON_READ_SIZE)
 			return;
-		applog(LOG_WARNING, "Avalon: Discarding %d bytes from buffer", spare);
+		applog(LOG_WARNING, "%s%d: No valid work - HW error",
+				thr->cgpu->drv->name, thr->cgpu->device_id);
 
 		inc_hw_errors(thr);
 		mutex_lock(&info->lock);