Commit be51dcfd604e62381d797519fd40d192d203793d

Con Kolivas 2013-11-25T09:55:41

Use correct padding for bxf temperature display.

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