From cec4f27a0f7b4841e67babb596bc4832110c02bf Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 4 Aug 1998 09:19:03 +0000 Subject: There seem to be two messages that were added with soft-updates support, which need a final "\n". I only observed one line of mangled output, but I think there is another one which suffers from the same problem, and thus I provide a patch that covers both. PR: 7483 Reviewed by: phk Submitted by: Stefan Esser --- sbin/fsck_ffs/pass5.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sbin/fsck_ffs') diff --git a/sbin/fsck_ffs/pass5.c b/sbin/fsck_ffs/pass5.c index dadfad1..1017de9 100644 --- a/sbin/fsck_ffs/pass5.c +++ b/sbin/fsck_ffs/pass5.c @@ -36,7 +36,7 @@ static const char sccsid[] = "@(#)pass5.c 8.9 (Berkeley) 4/28/95"; #endif static const char rcsid[] = - "$Id: pass5.c,v 1.11 1998/06/15 07:07:19 charnier Exp $"; + "$Id: pass5.c,v 1.12 1998/06/28 19:23:02 bde Exp $"; #endif /* not lint */ #include @@ -324,7 +324,7 @@ pass5() continue; if (cg_inosused(cg)[i] & (1 << k)) continue; - pwarn("ALLOCATED INODE %d MARKED FREE", + pwarn("ALLOCATED INODE %d MARKED FREE\n", c * fs->fs_ipg + i * 8 + k); } } @@ -337,7 +337,7 @@ pass5() continue; if (cg_blksfree(newcg)[i] & (1 << k)) continue; - pwarn("ALLOCATED FRAG %d MARKED FREE", + pwarn("ALLOCATED FRAG %d MARKED FREE\n", c * fs->fs_fpg + i * 8 + k); } } -- cgit v1.1