diff options
author | Rob Landley <rob@landley.net> | 2015-03-01 16:08:51 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-03-01 16:08:51 -0600 |
commit | 30c36d87280f3c45db157056b94ff67922f03fbf (patch) | |
tree | 21cc255a066705e8b0166ee6491376aff527e976 /toys/posix/df.c | |
parent | 70a84a356b1c56743618362867b9300007d11998 (diff) | |
download | toybox-30c36d87280f3c45db157056b94ff67922f03fbf.tar.gz |
Patches from Elliott Hughes to fix various printf() format strings.
(Don't specify the space flag when it's the default behavior. The ifconfig
stuff was actual bugs.)
Diffstat (limited to 'toys/posix/df.c')
-rw-r--r-- | toys/posix/df.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/df.c b/toys/posix/df.c index 141e8e50..dfc0f25f 100644 --- a/toys/posix/df.c +++ b/toys/posix/df.c @@ -86,7 +86,7 @@ void df_main(void) // Units are 512 bytes if you select "pedantic" without "kilobytes". TT.units = p ? 512 : 1024; - xprintf("Filesystem% 8s-blocks\tUsed Available %s Mounted on\n", + xprintf("Filesystem%8s-blocks\tUsed Available %s Mounted on\n", p ? "512" : "1K", p ? "Capacity" : "Use%"); if (!(mtstart = xgetmountlist(0))) return; |