Browse Source

Get rid of zeros which corrupt display.

Con Kolivas 12 years ago
parent
commit
06b9e0c4d9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-avalon.c

+ 1 - 1
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);
 }