Fix silly typo
authorEric Andersen <andersen@codepoet.org>
Mon, 22 Jan 2001 22:50:01 +0000 (22:50 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 22 Jan 2001 22:50:01 +0000 (22:50 -0000)
coreutils/df.c
df.c

index aa04682a756ab853a6f6f2a9c6359b74da943bfe..22797fbae7d5f9d6fecc582834cad48b6e14334d 100644 (file)
@@ -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 aa04682a756ab853a6f6f2a9c6359b74da943bfe..22797fbae7d5f9d6fecc582834cad48b6e14334d 100644 (file)
--- 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);