Module Name:    src
Committed By:   gson
Date:           Mon Aug 29 17:30:28 UTC 2011

Modified Files:
        src/bin/df: df.c

Log Message:
Use the same column spacing for the -h output as with the normal output,
as the same header line format is used in both cases and it can't line
up correctly with both of them otherwise.


To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/bin/df/df.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/bin/df/df.c
diff -u src/bin/df/df.c:1.88 src/bin/df/df.c:1.89
--- src/bin/df/df.c:1.88	Mon Aug 29 00:36:20 2011
+++ src/bin/df/df.c	Mon Aug 29 17:30:28 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: df.c,v 1.88 2011/08/29 00:36:20 enami Exp $ */
+/*	$NetBSD: df.c,v 1.89 2011/08/29 17:30:28 gson Exp $ */
 
 /*
  * Copyright (c) 1980, 1990, 1993, 1994
@@ -45,7 +45,7 @@
 #if 0
 static char sccsid[] = "@(#)df.c	8.7 (Berkeley) 4/2/94";
 #else
-__RCSID("$NetBSD: df.c,v 1.88 2011/08/29 00:36:20 enami Exp $");
+__RCSID("$NetBSD: df.c,v 1.89 2011/08/29 17:30:28 gson Exp $");
 #endif
 #endif /* not lint */
 
@@ -338,7 +338,7 @@
 prthuman(struct statvfs *sfsp, int64_t used, int64_t bavail)
 {
 
-	prthumanval((int64_t)(sfsp->f_blocks * sfsp->f_frsize), "  ");
+	prthumanval((int64_t)(sfsp->f_blocks * sfsp->f_frsize), "   ");
 	prthumanval((int64_t)(used * sfsp->f_frsize), "    ");
 	prthumanval((int64_t)(bavail * sfsp->f_frsize), "    ");
 }

Reply via email to