summaryrefslogtreecommitdiffstats
path: root/sys/security/mac/mac_vfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/security/mac/mac_vfs.c')
-rw-r--r--sys/security/mac/mac_vfs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/security/mac/mac_vfs.c b/sys/security/mac/mac_vfs.c
index 07d7b2d..5926f55 100644
--- a/sys/security/mac/mac_vfs.c
+++ b/sys/security/mac/mac_vfs.c
@@ -1116,9 +1116,9 @@ vn_refreshlabel(struct vnode *vp, struct ucred *cred)
return (0);
*/
/* printf("vn_refreshlabel: null v_mount\n"); */
- if (vp->v_tag != VT_NON)
+ if (vp->v_type != VNON)
printf(
- "vn_refreshlabel: null v_mount with non-VT_NON\n");
+ "vn_refreshlabel: null v_mount with non-VNON\n");
return (EBADF);
}
@@ -2951,8 +2951,8 @@ vn_setlabel(struct vnode *vp, struct label *intlabel, struct ucred *cred)
if (vp->v_mount == NULL) {
/* printf("vn_setlabel: null v_mount\n"); */
- if (vp->v_tag != VT_NON)
- printf("vn_setlabel: null v_mount with non-VT_NON\n");
+ if (vp->v_type != VNON)
+ printf("vn_setlabel: null v_mount with non-VNON\n");
return (EBADF);
}
OpenPOWER on IntegriCloud