summaryrefslogtreecommitdiff
path: root/components/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/cpu.c')
-rw-r--r--components/cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/cpu.c b/components/cpu.c
index 3fadb36..ecd45a6 100644
--- a/components/cpu.c
+++ b/components/cpu.c
@@ -20,7 +20,7 @@
return NULL;
}
- return fmt_human_10(freq * 1000);
+ return fmt_human(freq * 1000, 1000);
}
const char *
@@ -67,7 +67,7 @@
return NULL;
}
- return fmt_human_10((size_t)freq * 1000 * 1000);
+ return fmt_human((size_t)freq * 1000 * 1000, 1000);
}
const char *