Skip to content
New issue

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

[BUG] ramfs showing 'Used: -214' #791

Closed
sertonix opened this issue Mar 6, 2024 · 0 comments · Fixed by #879
Closed

[BUG] ramfs showing 'Used: -214' #791

sertonix opened this issue Mar 6, 2024 · 0 comments · Fixed by #879
Assignees
Labels
bug Something isn't working

Comments

@sertonix
Copy link

sertonix commented Mar 6, 2024

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):

  • btop++ version: 1.3.2
  • Binary: alpine linux package
  • Architecture: x86_64
  • Platform: Linux
  • (Linux) Kernel: 6.7.8-0-edge
  • (OSX/FreeBSD) Os release version: edge
  • Terminal used: foot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants