mirror of
https://github.com/pikami/slstatus.git
synced 2025-04-29 21:03:14 +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.