From 55fa9917611ec06bca3d765449f0cae7f92abee0 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 14 Jul 1997 20:59:12 +0000 Subject: that was not a nice change --- sbin/fsck_ffs/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sbin/fsck_ffs') diff --git a/sbin/fsck_ffs/main.c b/sbin/fsck_ffs/main.c index 18a2aebf562..3e8ca7b3357 100644 --- a/sbin/fsck_ffs/main.c +++ b/sbin/fsck_ffs/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.9 1997/07/14 14:16:47 graichen Exp $ */ +/* $OpenBSD: main.c,v 1.10 1997/07/14 20:59:11 deraadt Exp $ */ /* $NetBSD: main.c,v 1.22 1996/10/11 20:15:48 thorpej Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)main.c 8.2 (Berkeley) 1/23/94"; #else -static char rcsid[] = "$OpenBSD: main.c,v 1.9 1997/07/14 14:16:47 graichen Exp $"; +static char rcsid[] = "$OpenBSD: main.c,v 1.10 1997/07/14 20:59:11 deraadt Exp $"; #endif #endif /* not lint */ @@ -260,9 +260,9 @@ checkfilesys(filesys, mntpt, auxdata, child) */ n_ffree = sblock.fs_cstotal.cs_nffree; n_bfree = sblock.fs_cstotal.cs_nbfree; - pwarn("%d files, %d used, %d free\n", + pwarn("%d files, %d used, %d free ", n_files, n_blks, n_ffree + sblock.fs_frag * n_bfree); - pwarn("(%d frags, %d blocks, %d.%d%% fragmentation)\n", + printf("(%d frags, %d blocks, %d.%d%% fragmentation)\n", n_ffree, n_bfree, (n_ffree * 100) / sblock.fs_dsize, ((n_ffree * 1000 + sblock.fs_dsize / 2) / sblock.fs_dsize) % 10); if (debug && -- cgit v1.2.3