Return to du.c CVS log | Up to [local] / src / usr.bin / du |
version 1.9, 2001/07/12 05:17:00 | version 1.10, 2001/07/30 00:53:38 | ||
---|---|---|---|
|
|
||
unit = unit_adjust(&bytes); | unit = unit_adjust(&bytes); | ||
if (bytes == 0) | if (bytes == 0) | ||
(void)printf(" 0B\t%s\n", path); | (void)printf("0B\t%s\n", path); | ||
else if (bytes > 10) | else if (bytes > 10) | ||
(void)printf("%.0f%c\t%s\n", bytes, "BKMGTPE"[unit], path); | (void)printf("%.0f%c\t%s\n", bytes, "BKMGTPE"[unit], path); | ||
else | else |