diff options
-rw-r--r-- | ufs-fsck/pass2.c | 2 |
1 files changed, 1 insertions, 1 deletions
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")) |