Commit 3f88b7b9f7fe09e76243891e5e73c42764a7953b

Con Kolivas 2014-02-06T16:08:24

Give device info with share above target message.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/cgminer.c b/cgminer.c
index c843e7b..f60283b 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -6150,7 +6150,8 @@ bool submit_tested_work(struct thr_info *thr, struct work *work)
 	update_work_stats(thr, work);
 
 	if (!fulltest(work->hash, work->target)) {
-		applog(LOG_INFO, "Share above target");
+		applog(LOG_INFO, "%s %d: Share above target", thr->cgpu->drv->name,
+		       thr->cgpu->device_id);
 		return false;
 	}
 	work_out = copy_work(work);