diff options
author | michaelbuch12@gmail.com <michaelbuch12@gmail.com> | 2021-01-01 17:04:36 +0100 |
---|---|---|
committer | Rafael Marçalo <raroma09@gmail.com> | 2022-10-27 12:58:33 +0100 |
commit | 234dd3d5db6217cb49880a924e27509080a7f661 (patch) | |
tree | 178b2cec048dd6b71db2a8f47f3e0c8d25c46c99 /components/load_avg.c | |
parent | cc0b22ed267ad99447049fdc07c5b5fee04c7f7c (diff) |
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.
Diffstat (limited to 'components/load_avg.c')
0 files changed, 0 insertions, 0 deletions