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