Fix RAM component on FreeBSD
authormichaelbuch12@gmail.com <michaelbuch12@gmail.com>
Fri, 1 Jan 2021 16:04:36 +0000 (17:04 +0100)
committerdrkhsh <me@drkhsh.at>
Wed, 26 Oct 2022 19:24:11 +0000 (21:24 +0200)
commit77bfb76a971ed8d114fc12db70d8bfeef923510e
tree3efb4d8aedb3a60cb07b2d6b88db13958345619f
parent3c47701aea6bdb1e27c9b2039c07321077764f45
Fix RAM component on FreeBSD

The current implementation uses the wrong type for
given sysctl calls leading to overflow and incorrectly
reported RAM usage. The fix is to use 'unsigned int'
which is what FreeBSD expects.
components/ram.c