Closed sertonix closed 5 months ago
Describe the bug
A ramfs has a size and used bytes of 0. It then reports a usage percentage of 'Used: -214'. I assume that is an integer underflow.
To Reproduce
Mount a ramfs and open btop.
Expected behavior
btop should show 'Used: 0%'.
Info (please complete the following information):
Describe the bug
A ramfs has a size and used bytes of 0. It then reports a usage percentage of 'Used: -214'. I assume that is an integer underflow.
To Reproduce
Mount a ramfs and open btop.
Expected behavior
btop should show 'Used: 0%'.
Info (please complete the following information):