Fix too many arguments
This commit is contained in:
parent
cb203250c5
commit
18a87dcd51
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user