summaryrefslogtreecommitdiff
path: root/coreutils/df.c
diff options
context:
space:
mode:
authorEric Andersen2001-01-22 22:50:01 +0000
committerEric Andersen2001-01-22 22:50:01 +0000
commite132119f07fc286bca75504cc4a225d527507b38 (patch)
tree55c872c357538a57ff30fe379f1b5c2743cfeae6 /coreutils/df.c
parent6705986f2702dfa3b9dd6247d7558da90f184abc (diff)
downloadbusybox-e132119f07fc286bca75504cc4a225d527507b38.zip
busybox-e132119f07fc286bca75504cc4a225d527507b38.tar.gz
Fix silly typo
Diffstat (limited to 'coreutils/df.c')
-rw-r--r--coreutils/df.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/df.c b/coreutils/df.c
index aa04682..22797fb 100644
--- a/coreutils/df.c
+++ b/coreutils/df.c
@@ -46,7 +46,7 @@ static int df(char *device, const char *mountPoint)
if (s.f_blocks > 0) {
blocks_used = s.f_blocks - s.f_bfree;
if(0 == blocks_used)
- blocs_percent_used = 0;
+ blocks_percent_used = 0;
else
blocks_percent_used = (long)
(blocks_used * 100.0 / (blocks_used + s.f_bavail) + 0.5);