diff options
| author | Michael I. Bushnell <mib@gnu.org> | 1996-04-26 20:29:05 +0000 |
|---|---|---|
| committer | Michael I. Bushnell <mib@gnu.org> | 1996-04-26 20:29:05 +0000 |
| commit | da923ad8fdb77b2eb6ee1753ba312ed61ddd86a0 (patch) | |
| tree | c2fbb2d557d1cc1c5faf3548fef3589f0d8b5864 /ufs-fsck | |
| parent | da5fab82478cd6186284467a92caed154f7d625d (diff) | |
(allocino): Parenthesize test correctly.
Diffstat (limited to 'ufs-fsck')
| -rw-r--r-- | ufs-fsck/inode.c | 4 |
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; |
