summaryrefslogtreecommitdiff
path: root/components/battery.c
diff options
context:
space:
mode:
authormichaelbuch12@gmail.com <michaelbuch12@gmail.com>2021-01-01 17:04:36 +0100
committerRafael Marçalo <raroma09@gmail.com>2022-10-27 12:58:33 +0100
commit234dd3d5db6217cb49880a924e27509080a7f661 (patch)
tree178b2cec048dd6b71db2a8f47f3e0c8d25c46c99 /components/battery.c
parentcc0b22ed267ad99447049fdc07c5b5fee04c7f7c (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/battery.c')
0 files changed, 0 insertions, 0 deletions