Fix CPU frequency on OpenBSD
This commit is contained in:
parent
a9193a757a
commit
d518472e62
@ -53,8 +53,7 @@
|
|||||||
const char *
|
const char *
|
||||||
cpu_freq(void)
|
cpu_freq(void)
|
||||||
{
|
{
|
||||||
int mib[2];
|
int freq, mib[2];
|
||||||
uintmax_t freq;
|
|
||||||
size_t size;
|
size_t size;
|
||||||
|
|
||||||
mib[0] = CTL_HW;
|
mib[0] = CTL_HW;
|
||||||
|
Loading…
Reference in New Issue
Block a user