corrected calculation for swap on openbsd
authorTobias Tschinkowitz <he4d@posteo.de>
Wed, 16 May 2018 11:26:34 +0000 (13:26 +0200)
committerAaron Marcher <me@drkhsh.at>
Wed, 16 May 2018 17:17:49 +0000 (19:17 +0200)
commitc1f79d741a160ea17a110ca09b3deb705636ec4a
tree08ef9534e9d6d1a24eaaa90393e0be03b1428745
parent82eb6e3832dea63be4c22ac4415c3190add43f0b
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.
components/swap.c