aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/arch/linux/common/filesystem.h
diff options
context:
space:
mode:
author05356787 <05356787@localhost.localdomain>2008-10-31 16:32:48 -0200
committer05356787 <05356787@localhost.localdomain>2008-10-31 16:32:48 -0200
commit84e4dc6b1776abccc6167c7f037ddca5b5a53244 (patch)
tree52eb366e2a4483191291cd0f2ef4fc9a3ff2b160 /hardinfo2/arch/linux/common/filesystem.h
parentfc48b63b38acbe347e0dd7b443c54f81f46984ec (diff)
Make headers clickable
Diffstat (limited to 'hardinfo2/arch/linux/common/filesystem.h')
-rw-r--r--hardinfo2/arch/linux/common/filesystem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hardinfo2/arch/linux/common/filesystem.h b/hardinfo2/arch/linux/common/filesystem.h
index 48dd2160..f5b932b8 100644
--- a/hardinfo2/arch/linux/common/filesystem.h
+++ b/hardinfo2/arch/linux/common/filesystem.h
@@ -58,7 +58,7 @@ scan_filesystems(void)
used = size - avail;
if (avail == 0.0f) {
- use_ratio = 0.0f;
+ use_ratio = 100.0f;
} else {
use_ratio = 100.0f * (used / size);
}