[hackers] [slstatus] Fix CPU frequency on OpenBSD || Ingo Feinerer
commit d518472e6235dde0164115cd68f383f3db3427f2
Author: Ingo Feinerer <feinerer_AT_logic.at>
AuthorDate: Wed Feb 13 15:45:40 2019 +0100
Commit: Aaron Marcher <me_AT_drkhsh.at>
CommitDate: Wed Feb 13 18:04:14 2019 +0100
Fix CPU frequency on OpenBSD
diff --git a/components/cpu.c b/components/cpu.c
index 9a021d5..d9bd018 100644
--- a/components/cpu.c
+++ b/components/cpu.c
_AT_@ -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;
Received on Wed Feb 13 2019 - 18:04:41 CET
This archive was generated by hypermail 2.3.0
: Wed Feb 13 2019 - 18:12:22 CET