summaryrefslogtreecommitdiff
path: root/ufs-fsck/pass2.c
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
commitc50925c2f3a2c3600affcb0984fa5563d741c4b5 (patch)
tree28971b7278b1726938608b8a614298b7b5275931 /ufs-fsck/pass2.c
parent079aee4782854e9e4b9578e17b8d17276a8eb742 (diff)
(pass2): whops, typo.
Diffstat (limited to 'ufs-fsck/pass2.c')
-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"))