From 06b9e0c4d9084eb76125c5de7d2139e2f61320ac Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 30 May 2013 10:16:04 +1000 Subject: [PATCH] Get rid of zeros which corrupt display. --- driver-avalon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver-avalon.c b/driver-avalon.c index 24dcbdcf..f7d81fa4 100644 --- a/driver-avalon.c +++ b/driver-avalon.c @@ -1000,7 +1000,7 @@ static void get_avalon_statline_before(char *buf, struct cgpu_info *avalon) pwm = info->fan_pwm * 100 / AVALON_DEFAULT_FAN_MAX_PWM; - tailsprintf(buf, "%2d/%3dC %3d%%/%04dR| ", info->temp0, info->temp2, + tailsprintf(buf, "%2d/%3dC %3d%%/%4dR| ", info->temp0, info->temp2, pwm, lowfan); }