From d518472e6235dde0164115cd68f383f3db3427f2 Mon Sep 17 00:00:00 2001 From: Ingo Feinerer Date: Wed, 13 Feb 2019 15:45:40 +0100 Subject: Fix CPU frequency on OpenBSD --- components/cpu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'components') diff --git a/components/cpu.c b/components/cpu.c index 9a021d5..d9bd018 100644 --- a/components/cpu.c +++ b/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; -- cgit v1.2.3