diff options
author | Denis Vlasenko | 2006-10-27 09:05:02 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-10-27 09:05:02 +0000 |
commit | dca0b707c0f0998670f8e69600cc30d94e9b217b (patch) | |
tree | bf0291a625fee415b6500007b0ec90880104f962 /coreutils/du.c | |
parent | 621204bbf6750f1ba3977b43bb35375ddda6b5ae (diff) | |
download | busybox-dca0b707c0f0998670f8e69600cc30d94e9b217b.zip busybox-dca0b707c0f0998670f8e69600cc30d94e9b217b.tar.gz |
reshuffle libbb.h contents so that order of decls makes sense
Found bad typo in largefile support :)
Diffstat (limited to 'coreutils/du.c')
-rw-r--r-- | coreutils/du.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/du.c b/coreutils/du.c index cae76af..a547b1e 100644 --- a/coreutils/du.c +++ b/coreutils/du.c @@ -27,7 +27,7 @@ #ifdef CONFIG_FEATURE_HUMAN_READABLE # ifdef CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K -static unsigned long disp_hr = KILOBYTE; +static unsigned long disp_hr = 1024; # else static unsigned long disp_hr = 512; # endif @@ -180,11 +180,11 @@ int du_main(int argc, char **argv) } if((opt & (1 << 10))) { /* -m opt */ - disp_hr = MEGABYTE; + disp_hr = 1024*1024; } if((opt & (1 << 2))) { /* -k opt */ - disp_hr = KILOBYTE; + disp_hr = 1024; } #else opt_complementary = "H-L:L-H:s-d:d-s"; |