summaryrefslogtreecommitdiff
path: root/sys/kern/kern_alq.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_alq.c')
-rw-r--r--sys/kern/kern_alq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_alq.c b/sys/kern/kern_alq.c
index a141034577fe..6d132a95fbf5 100644
--- a/sys/kern/kern_alq.c
+++ b/sys/kern/kern_alq.c
@@ -300,7 +300,7 @@ alq_doio(struct alq *alq)
* XXX: VOP_WRITE error checks are ignored.
*/
#ifdef MAC
- if (mac_check_vnode_write(alq->aq_cred, NOCRED, vp) == 0)
+ if (mac_vnode_check_write(alq->aq_cred, NOCRED, vp) == 0)
#endif
VOP_WRITE(vp, &auio, IO_UNIT | IO_APPEND, alq->aq_cred);
VOP_UNLOCK(vp, 0, td);