commit 7afdf3097e1d7d71c14062153e7d9e33f1d54431
Author: Theo Le Ninivin <[email protected]>
Date: Thu Dec 31 12:48:48 2015 +0100
Correct the printf type, reflect the prev. change
diff --git a/dwm.suckless.org/dwmstatus/profil-dwmstatus-1.0.c
b/dwm.suckless.org/dwmstatus/profil-dwmstatus-1.0.c
index e016f2c..8b62f7c 100644
--- a/dwm.suckless.org/dwmstatus/profil-dwmstatus-1.0.c
+++ b/dwm.suckless.org/dwmstatus/profil-dwmstatus-1.0.c
@@ -114,7 +114,7 @@ int main(void) {
cpu1 =
getfreq("/sys/devices/system/cpu/cpu1/cpufreq/scaling_cur_freq");
datetime = getdatetime();
bat0 = getbattery();
- snprintf(status, 200, "%0.2f, %0.2f | %d%% | %s", cpu0, cpu1,
bat0, datetime);
+ snprintf(status, 200, "%0.2f, %0.2f | %.2lf%% | %s", cpu0,
cpu1, bat0, datetime);
free(datetime);
setstatus(status);