Macchina-CLI / libmacchina

A library providing access to all sorts of system information.
https://crates.io/crates/libmacchina
MIT License
68 stars 20 forks source link

Fix FreeBSD KernelReadout #148

Closed Gobidev closed 1 year ago

Gobidev commented 1 year ago

The two syscalls used in the FreeBSD KernelReadout had wrong names, it needs to be kern.val instead of kernel.val

Tested on FreeBSD 13.1, but is also true for older versions

grtcdr commented 1 year ago

Good catch, thanks! :)