Xinqi Bao's Git
projects
/
slstatus.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
| inline |
side by side
(from:
c1f79d7
)
corrected calculation for swap on openbsd
author
Tobias Tschinkowitz <
[email protected]
>
Wed, 16 May 2018 11:26:34 +0000
(13:26 +0200)
committer
Aaron Marcher <
[email protected]
>
Wed, 16 May 2018 17:17:49 +0000
(19:17 +0200)
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.
No differences found