Commit 837c7319f142b0d10b6a8a30b0a4f0819ef6df1f

ckolivas 2013-07-19T19:15:01

Fix extra argument passed to statline before.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-opencl.c b/driver-opencl.c
index 3350eb8..ec635b8 100644
--- a/driver-opencl.c
+++ b/driver-opencl.c
@@ -1281,7 +1281,7 @@ static void get_opencl_statline_before(char *buf, size_t bufsiz, struct cgpu_inf
 		if (gt != -1)
 			tailsprintf(buf, bufsiz, "%5.1fC ", gt);
 		else
-			tailsprintf(buf, bufsiz, "       ", gt);
+			tailsprintf(buf, bufsiz, "       ");
 		if (gf != -1)
 			// show invalid as 9999
 			tailsprintf(buf, bufsiz, "%4dRPM ", gf > 9999 ? 9999 : gf);