X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/dcffaeaf570e6dde5745080e533b5404ebc0e610..bb613923865e6a702e35ad13fdba19cbc7c20c2c:/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 *