diff options
author | Miles Bader <miles@gnu.org> | 1996-05-02 03:23:29 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-05-02 03:23:29 +0000 |
commit | 4ee11241cf62be7f9f88f19c81a6c2342a4eb3a1 (patch) | |
tree | ba3a3dd3a01c691a73acdda3e249cc3a0b5df10f /ufs-fsck/pass1.c | |
parent | 525a965d9e5c578967ccdcdd22fdd0903bc56589 (diff) |
Get rid of extraneous calls to pfail.
Diffstat (limited to 'ufs-fsck/pass1.c')
-rw-r--r-- | ufs-fsck/pass1.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/ufs-fsck/pass1.c b/ufs-fsck/pass1.c index 0b9a04cf..066f4649 100644 --- a/ufs-fsck/pass1.c +++ b/ufs-fsck/pass1.c @@ -78,8 +78,6 @@ pass1 () pfail ("SKIPPING"); return RET_STOP; } - else - pfix ("CONTINUING"); } } @@ -106,8 +104,6 @@ pass1 () pfail ("SKIPPING"); return RET_STOP; } - else - pfix ("CONTINUING"); } new = malloc (sizeof (struct dups)); new->dup = bno; @@ -194,8 +190,6 @@ pass1 () clear_inode (number, dp); pfix ("CLEARED"); } - else - pfail (0); } inodestate[number] = UNALLOC; } @@ -346,8 +340,6 @@ pass1 () dbwarn = 2; pfix ("DEALLOCATED"); } - else - pfail (0); } else if (dbwarn == 2) dp->di_db[lbn] = 0; @@ -373,8 +365,6 @@ pass1 () ibwarn = 2; pfix ("DEALLOCATED"); } - else - pfail (0); } else if (ibwarn == 2) dp->di_ib[lbn] = 0; @@ -429,15 +419,13 @@ pass1 () else if (dp->di_blocks != nblocks) { problem (0, "INCORRECT BLOCK COUNT I=%d (%ld should be %d)", - number, dp->di_blocks, nblocks); + number, dp->di_blocks, nblocks); if (preen || reply ("CORRECT")) { dp->di_blocks = nblocks; write_inode (number, dp); pfix ("CORRECTED"); } - else - pfail (0); } num_files++; |