diff options
author | Tobias Tschinkowitz <he4d@posteo.de> | 2018-05-16 13:26:34 +0200 |
---|---|---|
committer | Aaron Marcher <me@drkhsh.at> | 2018-05-16 19:17:49 +0200 |
commit | c1f79d741a160ea17a110ca09b3deb705636ec4a (patch) | |
tree | 08ef9534e9d6d1a24eaaa90393e0be03b1428745 /util.h | |
parent | 82eb6e3832dea63be4c22ac4415c3190add43f0b (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 'util.h')
0 files changed, 0 insertions, 0 deletions