Fix up du so it behaves itself also.

-Erik
This commit is contained in:
Eric Andersen 2001-03-07 03:53:40 +00:00
parent 11ae573320
commit a7db19bb81
2 changed files with 4 additions and 4 deletions

View File

@ -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"

4
du.c
View File

@ -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"