slstatus

status monitor
git clone git://git.suckless.org/slstatus
Log | Files | Refs | README | LICENSE

commit c2492c3f99d9d434a6f935dea8e97fa27cdd2adc
parent e20b50112e01f92f7c302107b59b17d8cc28387a
Author: Aaron Marcher <me@drkhsh.at>
Date:   Sat,  7 Jul 2018 10:56:10 +0200

cpu_freq: Simplify with E-notation

Thanks to the FRIGN

Diffstat:
Mcomponents/cpu.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/cpu.c b/components/cpu.c @@ -68,7 +68,7 @@ return NULL; } - return fmt_human(freq * 1000 * 1000, 1000); + return fmt_human(freq * 1E6, 1000); } const char *