summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1998-08-04 09:19:03 +0000
committerphk <phk@FreeBSD.org>1998-08-04 09:19:03 +0000
commitcec4f27a0f7b4841e67babb596bc4832110c02bf (patch)
treeb4fe54f01243ee67d9092e3b8b6046c214218ce2 /sbin/fsck_ffs
parent7480325b78dd2b3189429e53dcfacbdce7241bfb (diff)
downloadFreeBSD-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>
Diffstat (limited to 'sbin/fsck_ffs')
-rw-r--r--sbin/fsck_ffs/pass5.c6
1 files changed, 3 insertions, 3 deletions
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);
}
}
OpenPOWER on IntegriCloud