]> git.saurik.com Git - apple/file_cmds.git/commitdiff
file_cmds-220.7.tar.gz mac-os-x-1082 mac-os-x-1083 mac-os-x-1084 mac-os-x-1085 v220.7
authorApple <opensource@apple.com>
Mon, 2 Jul 2012 22:51:46 +0000 (22:51 +0000)
committerApple <opensource@apple.com>
Mon, 2 Jul 2012 22:51:46 +0000 (22:51 +0000)
df/df.1
df/df.c

diff --git a/df/df.1 b/df/df.1
index 756724f94180eca532adf2326bd8f3b34ababb4b..4560ab9582dbed95e103a591da26d476a989dac0 100644 (file)
--- a/df/df.1
+++ b/df/df.1
@@ -100,6 +100,9 @@ digits to three or less using base 2 for sizes.
 .It Fl i
 Include statistics on the number of free inodes. This option is now the default to conform to
 .St -susv3
+Use
+.Fl P
+to suppress this output.
 .It Fl k
 Use 1024-byte (1-Kbyte) blocks, rather than the default.
 Note that this overrides the
diff --git a/df/df.c b/df/df.c
index ff068462073fe4ea7ed3fc27a427387080843d2c..b7321f216481577b94cb2d02235c846801401986 100644 (file)
--- a/df/df.c
+++ b/df/df.c
@@ -172,6 +172,7 @@ main(int argc, char *argv[])
                                        /* -k overrides -P */
                                        putenv("BLOCKSIZE=512");
                                }
+                               iflag = 0;
                        } else {
                                putenv("BLOCKSIZE=512");
                        }