From de129ccb4d52da944ea2aed649de99494b664579 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 13 Oct 1994 00:04:58 +0000 Subject: Formerly pass1.c.~3~ --- ufs-fsck/pass1.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ufs-fsck/pass1.c b/ufs-fsck/pass1.c index a59657fc..5d4c8dd8 100644 --- a/ufs-fsck/pass1.c +++ b/ufs-fsck/pass1.c @@ -26,6 +26,7 @@ Set them in the global block map. For each file, if a block is found allocated twice, then record the block and inode in DUPLIST. Initialize INODESTATE, LINKCOUNT, and TYPEMAP. */ +void pass1 () { ino_t number; @@ -211,7 +212,7 @@ pass1 () /* Decode type and set NDB also set inodestate correctly. */ - inodestate[number] = FILE; + inodestate[number] = REG; switch (type) { case IFBLK: -- cgit v1.2.3