aboutsummaryrefslogtreecommitdiff
path: root/coreutils/du.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-27 09:05:02 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-27 09:05:02 +0000
commite7c6f0b4c27e36a1331ae7310bfa0549ead33849 (patch)
treebf0291a625fee415b6500007b0ec90880104f962 /coreutils/du.c
parent9bc0f50defc28a31a2d214e654ec48e2a1bcc897 (diff)
downloadbusybox-w32-e7c6f0b4c27e36a1331ae7310bfa0549ead33849.tar.gz
busybox-w32-e7c6f0b4c27e36a1331ae7310bfa0549ead33849.tar.bz2
busybox-w32-e7c6f0b4c27e36a1331ae7310bfa0549ead33849.zip
reshuffle libbb.h contents so that order of decls makes sense
Found bad typo in largefile support :) git-svn-id: svn://busybox.net/trunk/busybox@16453 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/du.c')
-rw-r--r--coreutils/du.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/du.c b/coreutils/du.c
index cae76af38..a547b1e14 100644
--- a/coreutils/du.c
+++ b/coreutils/du.c
@@ -27,7 +27,7 @@
27 27
28#ifdef CONFIG_FEATURE_HUMAN_READABLE 28#ifdef CONFIG_FEATURE_HUMAN_READABLE
29# ifdef CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K 29# ifdef CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K
30static unsigned long disp_hr = KILOBYTE; 30static unsigned long disp_hr = 1024;
31# else 31# else
32static unsigned long disp_hr = 512; 32static unsigned long disp_hr = 512;
33# endif 33# endif
@@ -180,11 +180,11 @@ int du_main(int argc, char **argv)
180 } 180 }
181 if((opt & (1 << 10))) { 181 if((opt & (1 << 10))) {
182 /* -m opt */ 182 /* -m opt */
183 disp_hr = MEGABYTE; 183 disp_hr = 1024*1024;
184 } 184 }
185 if((opt & (1 << 2))) { 185 if((opt & (1 << 2))) {
186 /* -k opt */ 186 /* -k opt */
187 disp_hr = KILOBYTE; 187 disp_hr = 1024;
188 } 188 }
189#else 189#else
190 opt_complementary = "H-L:L-H:s-d:d-s"; 190 opt_complementary = "H-L:L-H:s-d:d-s";