summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-07-30 00:53:39 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-07-30 00:53:39 +0000
commit0f04140ffe81f5686f7e8cae2e5ff1ee1151fbcf (patch)
tree0e2f29da2a91051722ec8cb1ec1213bda9c231fe /usr.bin
parent785c5c7be2f4feac5445bf3d341bfe7cd5a4fbdd (diff)
fix 0B case; morten@hotpost.dk
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/du/du.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/du/du.c b/usr.bin/du/du.c
index 606267a6600..f2a704cc723 100644
--- a/usr.bin/du/du.c
+++ b/usr.bin/du/du.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: du.c,v 1.9 2001/07/12 05:17:00 deraadt Exp $ */
+/* $OpenBSD: du.c,v 1.10 2001/07/30 00:53:38 deraadt Exp $ */
/* $NetBSD: du.c,v 1.11 1996/10/18 07:20:35 thorpej Exp $ */
/*
@@ -47,7 +47,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)du.c 8.5 (Berkeley) 5/4/95";
#else
-static char rcsid[] = "$OpenBSD: du.c,v 1.9 2001/07/12 05:17:00 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: du.c,v 1.10 2001/07/30 00:53:38 deraadt Exp $";
#endif
#endif /* not lint */
@@ -305,7 +305,7 @@ prtout(size, path, hflag)
unit = unit_adjust(&bytes);
if (bytes == 0)
- (void)printf(" 0B\t%s\n", path);
+ (void)printf("0B\t%s\n", path);
else if (bytes > 10)
(void)printf("%.0f%c\t%s\n", bytes, "BKMGTPE"[unit], path);
else