Fix CPU frequency on OpenBSD
Ingo Feinerer feinerer@logic.at
Wed, 13 Feb 2019 15:45:40 +0100
1 files changed,
1 insertions(+),
2 deletions(-)
jump to
M
components/cpu.c
→
components/cpu.c
@@ -53,8 +53,7 @@
const char * cpu_freq(void) { - int mib[2]; - uintmax_t freq; + int freq, mib[2]; size_t size; mib[0] = CTL_HW;