From e132119f07fc286bca75504cc4a225d527507b38 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 22 Jan 2001 22:50:01 +0000 Subject: [PATCH] Fix silly typo --- coreutils/df.c | 2 +- df.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/coreutils/df.c b/coreutils/df.c index aa04682a7..22797fbae 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); diff --git a/df.c b/df.c index aa04682a7..22797fbae 100644 --- a/df.c +++ b/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); -- 2.25.1