slstatus

Fork of suckless' slstatus with my personal patches
git clone https://git.instinctive.eu/slstatus.git
Log | Files | Refs | README | LICENSE

commit d518472e6235dde0164115cd68f383f3db3427f2
parent a9193a757a510e07e69b18ca64d2e50d467f01c1
Author: Ingo Feinerer <feinerer@logic.at>
Date:   Wed, 13 Feb 2019 15:45:40 +0100

Fix CPU frequency on OpenBSD

Diffstat:
Mcomponents/cpu.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 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;