summaryrefslogtreecommitdiff
path: root/ufs-fsck
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-10-13 00:04:58 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-10-13 00:04:58 +0000
commit08a4e356eba9fa8cc72ba7ec1f6a22d68fc4ef02 (patch)
tree52cc233921817591b9ba3a917ce46bb2890359ab /ufs-fsck
parent5079e13af2c5ad22d0800e9bcc4b2dda7571a5a5 (diff)
Formerly pass1.c.~3~
Diffstat (limited to 'ufs-fsck')
-rw-r--r--ufs-fsck/pass1.c3
1 files changed, 2 insertions, 1 deletions
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: