Fix CPU frequency on OpenBSD

This commit is contained in:
Ingo Feinerer 2019-02-13 15:45:40 +01:00 committed by Aaron Marcher
parent a9193a757a
commit d518472e62
1 changed files with 1 additions and 2 deletions

View File

@ -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;