Browse Source

Merge commit '64b6b7c' into cg_merges_20130606a

Conflicts:
	driver-icarus.c
Luke Dashjr 12 years ago
parent
commit
d1261a698f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      driver-icarus.c

+ 2 - 2
driver-icarus.c

@@ -768,7 +768,7 @@ static bool icarus_start_work(struct thr_info *thr, const unsigned char *ob_bin)
 	ret = icarus_write(fd, ob_bin, 64);
 	if (ret) {
 		do_icarus_close(thr);
-		applog(LOG_ERR, "%"PRIpreprv": Comms error (%d)", icarus->proc_repr, ret);
+		applog(LOG_ERR, "%"PRIpreprv": Comms error (werr=%d)", icarus->proc_repr, ret);
 		dev_error(icarus, REASON_DEV_COMMS_ERROR);
 		return false;	/* This should never happen */
 	}
@@ -851,7 +851,7 @@ static int64_t icarus_scanhash(struct thr_info *thr, struct work *work,
 					return 0;
 				case ICA_GETS_ERROR:
 					do_icarus_close(thr);
-					applog(LOG_ERR, "%"PRIpreprv": Comms error", icarus->proc_repr);
+					applog(LOG_ERR, "%"PRIpreprv": Comms error (rerr)", icarus->proc_repr);
 					dev_error(icarus, REASON_DEV_COMMS_ERROR);
 					if (!icarus_reopen(icarus, state, &fd))
 						return -1;