summaryrefslogtreecommitdiff
path: root/components/cpu.c
diff options
context:
space:
mode:
authorTobias Tschinkowitz <he4d@posteo.de>2018-05-16 13:26:34 +0200
committerAaron Marcher <me@drkhsh.at>2018-05-16 19:17:49 +0200
commitc1f79d741a160ea17a110ca09b3deb705636ec4a (patch)
tree08ef9534e9d6d1a24eaaa90393e0be03b1428745 /components/cpu.c
parent82eb6e3832dea63be4c22ac4415c3190add43f0b (diff)
corrected calculation for swap on openbsd
The swapctl(2) function fills the swapent struct with 512KB blocks. As we want to display in GB, i just modified the calculation for this to get the expected output.
Diffstat (limited to 'components/cpu.c')
0 files changed, 0 insertions, 0 deletions