Commit d6d0456271affd7487a299b438694733f1dc1a8c

Con Kolivas 2014-02-07T08:48:40

Show device info in noffset nonce 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 84f6382..b4cf997 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -6192,7 +6192,8 @@ bool submit_noffset_nonce(struct thr_info *thr, struct work *work_in, uint32_t n
 	ret = true;
 	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);
 		goto  out;
 	}
 	submit_work_async(work);