summaryrefslogtreecommitdiff
path: root/components/wifi.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
commit1bbbbdcc8b8945a6f3ed91bea19dcac872981c32 (patch)
tree08ef9534e9d6d1a24eaaa90393e0be03b1428745 /components/wifi.c
parentbe68aacc52104e0914e1d4abe74c3bbbb044ac0f (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/wifi.c')
0 files changed, 0 insertions, 0 deletions