summaryrefslogtreecommitdiff
path: root/coreutils/du.c
diff options
context:
space:
mode:
authorEric Andersen2001-03-07 03:53:40 +0000
committerEric Andersen2001-03-07 03:53:40 +0000
commita7db19bb81ee37ffeafb1c2e940f7ac9991bc81e (patch)
tree76545de9f2289d9ea6f2ab94a8355b474aba93b8 /coreutils/du.c
parent11ae573320e4acc8f74724ca2aef0a2bd6b72bf2 (diff)
downloadbusybox-a7db19bb81ee37ffeafb1c2e940f7ac9991bc81e.zip
busybox-a7db19bb81ee37ffeafb1c2e940f7ac9991bc81e.tar.gz
Fix up du so it behaves itself also.
-Erik
Diffstat (limited to 'coreutils/du.c')
-rw-r--r--coreutils/du.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/du.c b/coreutils/du.c
index 5636de8..e6b99a2 100644
--- a/coreutils/du.c
+++ b/coreutils/du.c
@@ -49,7 +49,7 @@ static Display *print;
static void print_normal(long size, char *filename)
{
#ifdef BB_FEATURE_HUMAN_READABLE
- printf("%s\t%s\n", format((size * KILOBYTE), du_disp_hr), filename);
+ printf("%s\t%s\n", format(size, du_disp_hr), filename);
#else
printf("%ld\t%s\n", size, filename);
#endif
@@ -185,7 +185,7 @@ int du_main(int argc, char **argv)
return status;
}
-/* $Id: du.c,v 1.39 2001/03/06 23:14:43 andersen Exp $ */
+/* $Id: du.c,v 1.40 2001/03/07 03:53:40 andersen Exp $ */
/*
Local Variables:
c-file-style: "linux"