all repos — slstatus @ 0f7e022381e5a3e5f33c27980016432c205eff50

my build of slstatus (tools.suckless.org/slstatus/)

Fix a little logic error
Laslo Hunhold dev@frign.de
Mon, 14 Aug 2017 10:24:43 +0200
commit

0f7e022381e5a3e5f33c27980016432c205eff50

parent

e1e1b1d79a9d274c861386ad14a5eacb6a6819f7

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M slstatus.cslstatus.c

@@ -169,7 +169,7 @@ {

int freq; return (pscanf("/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq", - "%i", &freq) != 1) ? + "%i", &freq) == 1) ? bprintf("%d", (freq + 500) / 1000) : unknown_str; }