Browse Source

Icarus: Use %d for int in applog, not %s

Kano 14 years ago
parent
commit
8673fc2684
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-icarus.c

+ 1 - 1
driver-icarus.c

@@ -309,7 +309,7 @@ static uint64_t icarus_scanhash(struct thr_info *thr, struct work *work,
 
 	ob_hex = bin2hex(ob_bin, sizeof(ob_bin));
 	if (ob_hex) {
-		applog(LOG_DEBUG, "Icarus %s send: %s",
+		applog(LOG_DEBUG, "Icarus %d sent: %s",
 		       icarus->device_id, ob_hex);
 		free(ob_hex);
 	}