mirror of
https://github.com/pikami/slstatus.git
synced 2025-04-01 15:39:46 +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.