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 | 09199ee723e06c8cfe29952cb1390d0029d0b572 (patch) | |
tree | f4df12eeb3ed24230c2c2c2cd8ca7ac46a4b1c8d /ufs-fsck | |
parent | 38549befba788a8e99eca5bebe16856154e3460a (diff) |
(pass5): Be sure to call pwarn before pfix.
Diffstat (limited to 'ufs-fsck')
-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; } |