summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ufs-fsck/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ufs-fsck/inode.c b/ufs-fsck/inode.c
index afb8b1a4..b2973c9d 100644
--- a/ufs-fsck/inode.c
+++ b/ufs-fsck/inode.c
@@ -1,5 +1,5 @@
/* Inode allocation, deallocation, etc.
- Copyright (C) 1994 Free Software Foundation, Inc.
+ Copyright (C) 1994, 1996 Free Software Foundation, Inc.
Written by Michael I. Bushnell.
This file is part of the GNU Hurd.
@@ -138,7 +138,7 @@ allocino (ino_t request, mode_t mode)
return 0;
}
- if (mode & IFMT == IFDIR)
+ if ((mode & IFMT) == IFDIR)
inodestate[ino] = DIRECTORY | DIR_REF;
else
inodestate[ino] = REG;