diff options
author | Mark Whitley <markw@lineo.com> | 2001-03-07 20:42:07 +0300 |
---|---|---|
committer | Mark Whitley <markw@lineo.com> | 2001-03-07 20:42:07 +0300 |
commit | ae5612ca6e74ba251cd10fc853dcf9694c0fecf1 (patch) | |
tree | ba3e50459f4b4ae476ce19e797c68c5e6de055e0 /coreutils/du.c | |
parent | ae20128e9f7a7d31629079068b04cf7119cc40df (diff) |
Some minor cleanups to df.c. Also, with Erik's blessing, changed name of
'format' function to 'make_human_readable_str'.
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 36c4de290..17ecfdeac 100644 --- a/coreutils/du.c +++ b/coreutils/du.c @@ -60,7 +60,7 @@ static void print_normal(long size, char *filename) default: base = 0; } -printf("%s\t%s\n", format(size, base), filename); + printf("%s\t%s\n", make_human_readable_str(size, base), filename); #else printf("%ld\t%s\n", size, filename); #endif @@ -69,7 +69,7 @@ printf("%s\t%s\n", format(size, base), filename); static void print_summary(long size, char *filename) { if (du_depth == 1) { -printf("summary\n"); + printf("summary\n"); print_normal(size, filename); } } @@ -196,7 +196,7 @@ int du_main(int argc, char **argv) return status; } -/* $Id: du.c,v 1.41 2001/03/07 06:04:08 andersen Exp $ */ +/* $Id: du.c,v 1.42 2001/03/07 17:42:07 markw Exp $ */ /* Local Variables: c-file-style: "linux" |