diff options
-rw-r--r-- | slstatus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -169,7 +169,7 @@ cpu_freq(void) 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; } |