Commit 5df2ae56ddaf08eba0c2226ad299f151530637ba

Con Kolivas 2013-11-22T10:40:23

Leave room for temperatures above 100 degrees and pad consistently for bxf statline.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-bitfury.c b/driver-bitfury.c
index 8a1260d..f6ff871 100644
--- a/driver-bitfury.c
+++ b/driver-bitfury.c
@@ -809,7 +809,7 @@ static void bitfury_get_statline_before(char *buf, size_t bufsiz, struct cgpu_in
 
 	switch(info->ident) {
 		case IDENT_BXF:
-			tailsprintf(buf, bufsiz, "%3.1fC          | ", info->temperature);
+			tailsprintf(buf, bufsiz, "%03.1fC         | ", info->temperature);
 			break;
 		case IDENT_BF1:
 		default: