mirror of
https://github.com/pikami/slstatus.git
synced 2025-05-21 23:52:47 +01: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.