Commit e95e25a45324abda2b7b509348762abfb7b4fe4f

Con Kolivas 2014-03-29T10:05:25

Frequency only needs 3 digits for cointerra statline

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-cointerra.c b/driver-cointerra.c
index f6e1b7b..6d02cd3 100644
--- a/driver-cointerra.c
+++ b/driver-cointerra.c
@@ -1234,7 +1234,7 @@ static void cta_statline_before(char *buf, size_t bufsiz, struct cgpu_info *coin
 	}
 	max_volt /= 1000;
 
-	tailsprintf(buf, bufsiz, "%4dMHz %3.1fC %3.2fV", freq, cointerra->temp, max_volt);
+	tailsprintf(buf, bufsiz, "%3dMHz %3.1fC %3.2fV", freq, cointerra->temp, max_volt);
 }
 
 struct device_drv cointerra_drv = {