summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--components/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/cpu.c b/components/cpu.c
index 2c5e4dc..14c8658 100644
--- 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 *