projects
/
suckless
/
slstatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9193a7
)
Fix CPU frequency on OpenBSD
author
Ingo Feinerer
<feinerer@logic.at>
Wed, 13 Feb 2019 14:45:40 +0000
(15:45 +0100)
committer
Aaron Marcher
<me@drkhsh.at>
Wed, 13 Feb 2019 17:04:14 +0000
(18:04 +0100)
components/cpu.c
patch
|
blob
|
history
diff --git
a/components/cpu.c
b/components/cpu.c
index 9a021d51537fe4a1dedca65e5be9e596001b7e86..d9bd0188249a4e19be22a8c0753f9deef3591b39 100644
(file)
--- 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;