From ec137f4f6b9a1841f2e73b8d6f488677ac9053d4 Mon Sep 17 00:00:00 2001 From: simonb Date: Sat, 12 Jul 2003 15:58:54 +0000 Subject: [PATCH] Bump ifree/iused field width. --- bin/df/df.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/df/df.c b/bin/df/df.c index b9909871cd94..a63c269ff0f2 100644 --- a/bin/df/df.c +++ b/bin/df/df.c @@ -1,4 +1,4 @@ -/* $NetBSD: df.c,v 1.47 2003/04/18 12:48:25 grant Exp $ */ +/* $NetBSD: df.c,v 1.48 2003/07/12 15:58:54 simonb Exp $ */ /* * Copyright (c) 1980, 1990, 1993, 1994 @@ -49,7 +49,7 @@ __COPYRIGHT( #if 0 static char sccsid[] = "@(#)df.c 8.7 (Berkeley) 4/2/94"; #else -__RCSID("$NetBSD: df.c,v 1.47 2003/04/18 12:48:25 grant Exp $"); +__RCSID("$NetBSD: df.c,v 1.48 2003/07/12 15:58:54 simonb Exp $"); #endif #endif /* not lint */ @@ -359,7 +359,7 @@ prtstat(struct statfs *sfsp, int maxwidth) maxwidth, maxwidth, "Filesystem", header, Pflag ? "Available" : "Avail"); if (iflag) - (void)printf(" iused ifree %%iused"); + (void)printf(" iused ifree %%iused"); (void)printf(" Mounted on\n"); } (void)printf("%-*.*s", maxwidth, maxwidth, sfsp->f_mntfromname); @@ -377,7 +377,7 @@ prtstat(struct statfs *sfsp, int maxwidth) if (iflag) { inodes = sfsp->f_files; used = inodes - sfsp->f_ffree; - (void)printf(" %7ld %7ld %6s ", used, sfsp->f_ffree, + (void)printf(" %8ld %8ld %6s ", used, sfsp->f_ffree, inodes == 0 ? full : strpct((u_long)used, (u_long)inodes, 0)); } else