mirror of
https://github.com/pikami/slstatus.git
synced 2025-02-18 18:26:00 +00:00
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.