Browse Source

Merge commit '0ade1c4' into bfgminer

Luke Dashjr 12 years ago
parent
commit
5698551c1e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      driver-opencl.c

+ 2 - 2
driver-opencl.c

@@ -905,7 +905,7 @@ retry:
 				if (powertune != -1)
 					tailsprintf(logline, "P: %d%%", powertune);
 				tailsprintf(logline, "\n");
-				wlog(logline);
+				wlog("%s", logline);
 			}
 		}
 #endif
@@ -1528,7 +1528,7 @@ static void get_opencl_statline_before(char *buf, struct cgpu_info *gpu)
 		if (gt != -1)
 			tailsprintf(buf, "%5.1fC ", gt);
 		else
-			tailsprintf(buf, "       ", gt);
+			tailsprintf(buf, "       ");
 		if (gf != -1)
 			tailsprintf(buf, "%4dRPM ", gf);
 		else if ((gp = gpu_fanpercent(gpuid)) != -1)