summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorRob Landley2005-09-10 02:59:35 +0000
committerRob Landley2005-09-10 02:59:35 +0000
commit98ea849623d1404f68ca4a7a160bdd87c412f4d2 (patch)
treed3fcbca509469b224199e7ad2a4d8f3ea04cee31 /coreutils
parenta80b290e30d96007bcbf460f73b243545917c836 (diff)
downloadbusybox-98ea849623d1404f68ca4a7a160bdd87c412f4d2.zip
busybox-98ea849623d1404f68ca4a7a160bdd87c412f4d2.tar.gz
Patch from Dirk Clemens so df doesn't run numbers together on drives >100gig.
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/df.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/df.c b/coreutils/df.c
index 51d3cc6..ef08f91 100644
--- a/coreutils/df.c
+++ b/coreutils/df.c
@@ -136,7 +136,7 @@ extern int df_main(int argc, char **argv)
}
#ifdef CONFIG_FEATURE_HUMAN_READABLE
- bb_printf("%-21s%9s ", device,
+ bb_printf("%-20s %9s ", device,
make_human_readable_str(s.f_blocks, s.f_bsize, df_disp_hr));
bb_printf("%9s ",
@@ -147,7 +147,7 @@ extern int df_main(int argc, char **argv)
make_human_readable_str(s.f_bavail, s.f_bsize, df_disp_hr),
blocks_percent_used, mount_point);
#else
- bb_printf("%-21s%9ld %9ld %9ld %3ld%% %s\n",
+ bb_printf("%-20s %9ld %9ld %9ld %3ld%% %s\n",
device,
kscale(s.f_blocks, s.f_bsize),
kscale(s.f_blocks-s.f_bfree, s.f_bsize),