cpu_freq: Simplify with E-notation Thanks to the FRIGN
Aaron Marcher me@drkhsh.at
Sat, 07 Jul 2018 10:56:10 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
components/cpu.c
→
components/cpu.c
@@ -68,7 +68,7 @@ warn("sysctl 'HW_CPUSPEED':");
return NULL; } - return fmt_human(freq * 1000 * 1000, 1000); + return fmt_human(freq * 1E6, 1000); } const char *