No need to print internal state once debug is done.

This commit is contained in:
enami 2011-08-29 00:36:20 +00:00
parent 78c607658a
commit 8bc2f3136d
1 changed files with 2 additions and 3 deletions

View File

@ -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 * Copyright (c) 1980, 1990, 1993, 1994
@ -45,7 +45,7 @@ __COPYRIGHT(
#if 0 #if 0
static char sccsid[] = "@(#)df.c 8.7 (Berkeley) 4/2/94"; static char sccsid[] = "@(#)df.c 8.7 (Berkeley) 4/2/94";
#else #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
#endif /* not lint */ #endif /* not lint */
@ -448,7 +448,6 @@ prtstat(struct statvfs *sfsp, int maxwidth)
(void)printf("Filesystem %s Used Available Capacity " (void)printf("Filesystem %s Used Available Capacity "
"Mounted on\n", header); "Mounted on\n", header);
} else { } else {
printf("%d %d\n", maxwidth, headerlen);
(void)printf("%-*.*s %s Used Avail %%Cap", (void)printf("%-*.*s %s Used Avail %%Cap",
maxwidth - (headerlen - 10), maxwidth - (headerlen - 10),
maxwidth - (headerlen - 10), maxwidth - (headerlen - 10),