summaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-07-14 20:59:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-07-14 20:59:12 +0000
commit55fa9917611ec06bca3d765449f0cae7f92abee0 (patch)
tree2b91348ff5893a71eb3d2736a14aaeacd44895ba /sbin/fsck_ffs
parentf7ce18ec7ce918b5ea8855848a55d5b424568c3d (diff)
that was not a nice change
Diffstat (limited to 'sbin/fsck_ffs')
-rw-r--r--sbin/fsck_ffs/main.c8
1 files changed, 4 insertions, 4 deletions
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 &&