Source-Changes-HG archive

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

[src/trunk]: src/bin/df No need to print internal state once debug is done.



details:   https://anonhg.NetBSD.org/src/rev/7d2ee614d730
branches:  trunk
changeset: 768916:7d2ee614d730
user:      enami <enami%NetBSD.org@localhost>
date:      Mon Aug 29 00:36:20 2011 +0000

description:
No need to print internal state once debug is done.

diffstat:

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

diffs (26 lines):

diff -r e527c030bf5a -r 7d2ee614d730 bin/df/df.c
--- a/bin/df/df.c       Sun Aug 28 23:16:18 2011 +0000
+++ b/bin/df/df.c       Mon Aug 29 00:36:20 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: df.c,v 1.87 2011/08/28 08:20:58 christos Exp $ */
+/*     $NetBSD: df.c,v 1.88 2011/08/29 00:36:20 enami 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.87 2011/08/28 08:20:58 christos Exp $");
+__RCSID("$NetBSD: df.c,v 1.88 2011/08/29 00:36:20 enami Exp $");
 #endif
 #endif /* not lint */
 
@@ -448,7 +448,6 @@
                        (void)printf("Filesystem %s Used Available Capacity "
                            "Mounted on\n", header);
                } else {
-                       printf("%d %d\n", maxwidth, headerlen);
                        (void)printf("%-*.*s %s       Used      Avail %%Cap",
                            maxwidth - (headerlen - 10),
                            maxwidth - (headerlen - 10),



Home | Main Index | Thread Index | Old Index