summaryrefslogtreecommitdiff
path: root/bsdfsck/fsck.h
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-09-01 18:50:58 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-09-01 18:50:58 +0000
commitfc133667ee978c7ead629a2736e42122dd41ad6d (patch)
tree92addadf6c83d99bcbf4782ddfd798cf451bcb3c /bsdfsck/fsck.h
parent178faf94766ba185999f950c9728ecbad7163cbf (diff)
Formerly fsck.h.~7~
Diffstat (limited to 'bsdfsck/fsck.h')
-rw-r--r--bsdfsck/fsck.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsdfsck/fsck.h b/bsdfsck/fsck.h
index 23542d6d..c2768e9b 100644
--- a/bsdfsck/fsck.h
+++ b/bsdfsck/fsck.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)fsck.h 8.1 (Berkeley) 6/5/93
- * $Id: fsck.h,v 1.6 1994/08/26 16:04:42 mib Exp $
+ * $Id: fsck.h,v 1.7 1994/09/01 18:50:58 mib Exp $
*/
/* Begin GNU Hurd */
@@ -87,7 +87,7 @@ struct odirtemplate {
#define MAXPATHLEN 1024
/* Provide mode from struct dinode * */
-#define DI_MODE(dp) (((dp)->di_modeh << 16) & (dp)->di_model)
+#define DI_MODE(dp) (((dp)->di_modeh << 16) | (dp)->di_model)
#define NBBY 8