mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-12-03 01:12:23 +00:00
Patch from Dirk Clemens so df doesn't run numbers together on drives >100gig.
This commit is contained in:
parent
a80b290e30
commit
98ea849623
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user