Fix a little logic error
Laslo Hunhold dev@frign.de
Mon, 14 Aug 2017 10:24:43 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
slstatus.c
→
slstatus.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; }