diff options
author | Andriy Gapon <avg@FreeBSD.org> | 2020-09-03 20:30:52 +0000 |
---|---|---|
committer | Andriy Gapon <avg@FreeBSD.org> | 2020-09-03 20:30:52 +0000 |
commit | 137d26e8a378c50b439f3bc3f26ea5d7660c5607 (patch) | |
tree | 8e6845b3809de9e93301954f6886fe892f5626fd | |
parent | 031db28b2b2f7a0b367e7fb60e6658e9b4e5ca00 (diff) |
Notes
-rw-r--r-- | sys/security/mac/mac_framework.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/mac/mac_framework.h b/sys/security/mac/mac_framework.h index fed574d361354..c9a0ae3ce1dae 100644 --- a/sys/security/mac/mac_framework.h +++ b/sys/security/mac/mac_framework.h @@ -400,7 +400,7 @@ void mac_sysvshm_init(struct shmid_kernel *); void mac_thread_userret(struct thread *td); -#ifdef DEBUG_VFS_LOCKS +#if defined(MAC) && defined(DEBUG_VFS_LOCKS) void mac_vnode_assert_locked(struct vnode *vp, const char *func); #else #define mac_vnode_assert_locked(vp, func) do { } while (0) |