We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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):
The text was updated successfully, but these errors were encountered:
fix divide 0 error when caculating disk usage percentage (aristocrato…
ed51c2a
…s#791)
Add fix for disk used and free percent aristocratos#791
6b06e3c
aristocratos
Successfully merging a pull request may close this issue.
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):
The text was updated successfully, but these errors were encountered: