summaryrefslogtreecommitdiff
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
commit943dbe863644cbd313b2825643e758927cb3571d (patch)
treedcf0cf3d722e1f01ad1bd879e6824d78f127db01
parent2a87c7c0fe99de6afdd799206d7ece9011d52852 (diff)
Formerly fsck.h.~7~
-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