Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/df Adjust output column in printf().



details:   https://anonhg.NetBSD.org/src/rev/bd8f19c4736c
branches:  trunk
changeset: 503144:bd8f19c4736c
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Thu Feb 01 10:19:51 2001 +0000

description:
Adjust output column in printf().

diffstat:

 bin/df/df.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b254fb6f3880 -r bd8f19c4736c bin/df/df.c
--- a/bin/df/df.c       Thu Feb 01 08:59:45 2001 +0000
+++ b/bin/df/df.c       Thu Feb 01 10:19:51 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: df.c,v 1.38 2001/01/07 05:37:10 christos Exp $ */
+/*     $NetBSD: df.c,v 1.39 2001/02/01 10:19:51 tsutsui Exp $  */
 
 /*
  * Copyright (c) 1980, 1990, 1993, 1994
@@ -49,7 +49,7 @@
 #if 0
 static char sccsid[] = "@(#)df.c       8.7 (Berkeley) 4/2/94";
 #else
-__RCSID("$NetBSD: df.c,v 1.38 2001/01/07 05:37:10 christos Exp $");
+__RCSID("$NetBSD: df.c,v 1.39 2001/02/01 10:19:51 tsutsui Exp $");
 #endif
 #endif /* not lint */
 
@@ -374,7 +374,7 @@
            fsbtoblk(sfsp->f_blocks, sfsp->f_bsize, blocksize),
            fsbtoblk(used, sfsp->f_bsize, blocksize),
            fsbtoblk(sfsp->f_bavail, sfsp->f_bsize, blocksize));
-       (void)printf("%9s",
+       (void)printf("%7s",
            availblks == 0 ? full : strpct((u_long)used, (u_long)availblks, 0));
        if (iflag) {
                inodes = sfsp->f_files;



Home | Main Index | Thread Index | Old Index