[wiki] [sites] Correct the printf type, reflect the prev. change || Theo Le Ninivin

From: <git_AT_suckless.org>
Date: Thu, 31 Dec 2015 12:49:30 +0100

commit 7afdf3097e1d7d71c14062153e7d9e33f1d54431
Author: Theo Le Ninivin <theo.leninivin_AT_kaufda.de>
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
_AT_@ -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);
Received on Thu Dec 31 2015 - 12:49:30 CET

This archive was generated by hypermail 2.3.0 : Thu Dec 31 2015 - 13:00:16 CET