diff options
| author | Eric Andersen <andersen@codepoet.org> | 2001-03-07 03:53:40 +0000 |
|---|---|---|
| committer | Eric Andersen <andersen@codepoet.org> | 2001-03-07 03:53:40 +0000 |
| commit | a7db19bb81ee37ffeafb1c2e940f7ac9991bc81e (patch) | |
| tree | 76545de9f2289d9ea6f2ab94a8355b474aba93b8 | |
| parent | 11ae573320e4acc8f74724ca2aef0a2bd6b72bf2 (diff) | |
| download | busybox-w32-a7db19bb81ee37ffeafb1c2e940f7ac9991bc81e.tar.gz busybox-w32-a7db19bb81ee37ffeafb1c2e940f7ac9991bc81e.tar.bz2 busybox-w32-a7db19bb81ee37ffeafb1c2e940f7ac9991bc81e.zip | |
Fix up du so it behaves itself also.
-Erik
| -rw-r--r-- | coreutils/du.c | 4 | ||||
| -rw-r--r-- | du.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/du.c b/coreutils/du.c index 5636de8ea..e6b99a28b 100644 --- a/coreutils/du.c +++ b/coreutils/du.c | |||
| @@ -49,7 +49,7 @@ static Display *print; | |||
| 49 | static void print_normal(long size, char *filename) | 49 | static 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 | /* |
| 190 | Local Variables: | 190 | Local Variables: |
| 191 | c-file-style: "linux" | 191 | c-file-style: "linux" |
| @@ -49,7 +49,7 @@ static Display *print; | |||
| 49 | static void print_normal(long size, char *filename) | 49 | static 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 | /* |
| 190 | Local Variables: | 190 | Local Variables: |
| 191 | c-file-style: "linux" | 191 | c-file-style: "linux" |
