diff options
-rw-r--r-- | components/disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/disk.c b/components/disk.c index 1251edb..8112981 100644 --- a/components/disk.c +++ b/components/disk.c @@ -31,7 +31,7 @@ disk_perc(const char *mnt) } return bprintf("%d", (int)(100 * - (1.0f - ((float)fs.f_bfree / (float)fs.f_blocks)))); + (1.0f - ((float)fs.f_bfree / (float)fs.f_blocks)))); } const char * |