Fix too many arguments

This commit is contained in:
Przemek Grondek 2022-07-15 17:58:53 +02:00
parent cb203250c5
commit 18a87dcd51

View File

@ -196,7 +196,7 @@ main(void)
t1 = gettemperature("/sys/class//hwmon/hwmon2", "temp1_input"); t1 = gettemperature("/sys/class//hwmon/hwmon2", "temp1_input");
bat = getbattery("/sys/class/power_supply/BAT0"); bat = getbattery("/sys/class/power_supply/BAT0");
status = smprintf("Bat: %s | Temp: %s, %s | Load: %s | %s %s", status = smprintf("Bat: %s | Temp: %s, %s | Load: %s | %s",
bat, t0, t1, avgs, tmbln); bat, t0, t1, avgs, tmbln);
setstatus(status); setstatus(status);