diff options
Diffstat (limited to 'hardinfo2/arch/linux')
-rw-r--r-- | hardinfo2/arch/linux/common/boots.h | 1 | ||||
-rw-r--r-- | hardinfo2/arch/linux/common/filesystem.h | 2 |
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); } |