diff options
author | Miles Bader <miles@gnu.org> | 1996-05-01 00:57:41 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-05-01 00:57:41 +0000 |
commit | f465ff27f340399be3b52c455e8f865667a1bfca (patch) | |
tree | 72d92b5aa34bebb14cc1e3338d756cc85fbf227d | |
parent | ffba496875c9deb9d8e9f907fcd4a6985e514189 (diff) |
(pass5): Be sure to call pwarn before pfix.
-rw-r--r-- | ufs-fsck/pass5.c | 7 |
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; } |