summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ufs-fsck/pass5.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ufs-fsck/pass5.c b/ufs-fsck/pass5.c
index 5559d37c..b91341cf 100644
--- a/ufs-fsck/pass5.c
+++ b/ufs-fsck/pass5.c
@@ -168,7 +168,7 @@ pass5 ()
writecg = 0;
if (!cg_chkmagic (cg))
- pfatal ("CG %d: BAD MAGIC NUMBER\n", c);
+ pfatal ("CG %d: BAD MAGIC NUMBER", c);
/* Compute first and last data block addresses in this group */
dbase = cgbase (sblock, c);
@@ -422,9 +422,10 @@ pass5 ()
if (sblock->fs_clean == 0 && !fix_denied)
{
- if (preen || reply ("MARK FILESYSTEM CLEAN"))
+ pwarn ("FILESYSTEM MODIFIED");
+ if (preen || reply ("MARK CLEAN"))
{
- pfix ("FILESYSTEM MARKED CLEAN");
+ pfix ("MARKED CLEAN");
sblock->fs_clean = 1;
writesb = 1;
}