summaryrefslogtreecommitdiff
path: root/components/disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/disk.c')
-rw-r--r--components/disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/disk.c b/components/disk.c
index 00deea2..db18d12 100644
--- a/components/disk.c
+++ b/components/disk.c
@@ -29,7 +29,7 @@ disk_perc(const char *mnt)
return NULL;
}
- return bprintf("%d", (int)(100 *
+ return bprintf("%d%%", (int)(100 *
(1.0f - ((float)fs.f_bavail / (float)fs.f_blocks))));
}