X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/dcffaeaf570e6dde5745080e533b5404ebc0e610..6464cea333144a5d0e3baa02c9c9ecad4b3c53bf:/components/disk.c 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 *