summaryrefslogtreecommitdiff
path: root/hardinfo2/arch/linux
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
parentfc48b63b38acbe347e0dd7b443c54f81f46984ec (diff)
Make headers clickable
Diffstat (limited to 'hardinfo2/arch/linux')
-rw-r--r--hardinfo2/arch/linux/common/boots.h1
-rw-r--r--hardinfo2/arch/linux/common/filesystem.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/hardinfo2/arch/linux/common/boots.h b/hardinfo2/arch/linux/common/boots.h
index 388e72a4..8a3c11fa 100644
--- a/hardinfo2/arch/linux/common/boots.h
+++ b/hardinfo2/arch/linux/common/boots.h
@@ -48,7 +48,6 @@ scan_boots_real(void)
}
tmp = g_strsplit(buffer, " ", 0);
-
computer->os->boots = h_strdup_cprintf("\n%s %s %s %s=%s|%s",
computer->os->boots,
tmp[4], tmp[5], tmp[6], tmp[7], tmp[3], tmp[8]);
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);
}