summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-05-23 18:21:56 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-05-23 18:21:56 +0000
commit1ee4281d95838d8c4ecc0b9e4163c9186215fb91 (patch)
treee9cb3ef214f1fb08ca5d19acfe978c0994536793
parentb77bcc19abf5032c6f7fd8aa17622fb895461caf (diff)
(pass2): whops, typo.
-rw-r--r--ufs-fsck/pass2.c2
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"))