diff options
author | phk <phk@FreeBSD.org> | 1998-08-04 09:19:03 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1998-08-04 09:19:03 +0000 |
commit | cec4f27a0f7b4841e67babb596bc4832110c02bf (patch) | |
tree | b4fe54f01243ee67d9092e3b8b6046c214218ce2 | |
parent | 7480325b78dd2b3189429e53dcfacbdce7241bfb (diff) | |
download | FreeBSD-src-cec4f27a0f7b4841e67babb596bc4832110c02bf.zip FreeBSD-src-cec4f27a0f7b4841e67babb596bc4832110c02bf.tar.gz |
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 <se@FreeBSD.org>
-rw-r--r-- | sbin/fsck/pass5.c | 6 | ||||
-rw-r--r-- | sbin/fsck_ffs/pass5.c | 6 | ||||
-rw-r--r-- | sbin/fsck_ifs/pass5.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/sbin/fsck/pass5.c b/sbin/fsck/pass5.c index dadfad1..1017de9 100644 --- a/sbin/fsck/pass5.c +++ b/sbin/fsck/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 <sys/param.h> @@ -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); } } 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 <sys/param.h> @@ -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); } } diff --git a/sbin/fsck_ifs/pass5.c b/sbin/fsck_ifs/pass5.c index dadfad1..1017de9 100644 --- a/sbin/fsck_ifs/pass5.c +++ b/sbin/fsck_ifs/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 <sys/param.h> @@ -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); } } |