From: kstailey Date: Mon, 14 Apr 1997 17:35:58 +0000 (+0000) Subject: fix Avail column in -h mode (again) X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1b91c93ae8fe6060496f55d67b4234b5b0143525;p=openbsd fix Avail column in -h mode (again) --- diff --git a/bin/df/df.c b/bin/df/df.c index 95294910d3b..401ee70a14f 100644 --- a/bin/df/df.c +++ b/bin/df/df.c @@ -1,4 +1,4 @@ -/* $OpenBSD: df.c,v 1.11 1997/04/14 17:34:03 kstailey Exp $ */ +/* $OpenBSD: df.c,v 1.12 1997/04/14 17:35:58 kstailey Exp $ */ /* $NetBSD: df.c,v 1.21.2.1 1995/11/01 00:06:11 jtc Exp $ */ /* @@ -49,7 +49,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)df.c 8.7 (Berkeley) 4/2/94"; #else -static char rcsid[] = "$OpenBSD: df.c,v 1.11 1997/04/14 17:34:03 kstailey Exp $"; +static char rcsid[] = "$OpenBSD: df.c,v 1.12 1997/04/14 17:35:58 kstailey Exp $"; #endif #endif /* not lint */ @@ -337,7 +337,7 @@ prthumanval(bytes) unit = unit_adjust(&bytes); if (bytes == 0) - (void)printf(" 0 "); + (void)printf(" 0 "); else if (bytes > 10) (void)printf(" %5.0f%c ", bytes, " KMGTPE"[unit]); else