From 1ee4281d95838d8c4ecc0b9e4163c9186215fb91 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 23 May 1996 18:21:56 +0000 Subject: (pass2): whops, typo. --- ufs-fsck/pass2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ufs-fsck/pass2.c b/ufs-fsck/pass2.c index 47563718..ee12d33b 100644 --- a/ufs-fsck/pass2.c +++ b/ufs-fsck/pass2.c @@ -146,7 +146,7 @@ pass2 () /* Check TYPE */ type = DIRECT_TYPE (dp); - if (type != DT_UNKNOWN && type == typemap[dp->d_ino]) + if (type != DT_UNKNOWN && type != typemap[dp->d_ino]) { problem (0, "INCORRECT NODE TYPE IN DIRECTORY"); if (preen || reply ("CLEAR")) -- cgit v1.2.3