diff options
Diffstat (limited to 'sys/gnu/fs/xfs/FreeBSD/xfs_vnode.h')
-rw-r--r-- | sys/gnu/fs/xfs/FreeBSD/xfs_vnode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/gnu/fs/xfs/FreeBSD/xfs_vnode.h b/sys/gnu/fs/xfs/FreeBSD/xfs_vnode.h index b173442..c4483ea 100644 --- a/sys/gnu/fs/xfs/FreeBSD/xfs_vnode.h +++ b/sys/gnu/fs/xfs/FreeBSD/xfs_vnode.h @@ -489,7 +489,7 @@ typedef struct xfs_vattr { * Check whether mandatory file locking is enabled. */ #define MANDLOCK(vp, mode) \ - ((vp)->v_vnode->v_type == VREG && ((mode) & (VSGID|(VEXEC>>3))) == VSGID) + ((vp)->v_vnode->v_type == VREG && ((mode) & (S_ISGID|(VEXEC>>3))) == S_ISGID) extern void vn_init(void); extern int vn_wait(struct xfs_vnode *); |