aboutsummaryrefslogtreecommitdiff
path: root/sys/security/mac/mac_pipe.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2002-10-05 17:18:43 +0000
committerRobert Watson <rwatson@FreeBSD.org>2002-10-05 17:18:43 +0000
commita931e345a9bd2a7b18ff3b45b3f04ca596758aaa (patch)
tree33149a8cf4a236f6a882274332d0b3ea10639605 /sys/security/mac/mac_pipe.c
parentdab3d85fd7420cfbf9f0b1fdef34249ed6fc1f2c (diff)
Notes
Diffstat (limited to 'sys/security/mac/mac_pipe.c')
-rw-r--r--sys/security/mac/mac_pipe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/security/mac/mac_pipe.c b/sys/security/mac/mac_pipe.c
index d96abb28c9a91..8df223dab3764 100644
--- a/sys/security/mac/mac_pipe.c
+++ b/sys/security/mac/mac_pipe.c
@@ -1044,13 +1044,13 @@ mac_init_structmac(struct mac *mac)
}
int
-mac_init_mbuf(struct mbuf *m, int how)
+mac_init_mbuf(struct mbuf *m, int flag)
{
KASSERT(m->m_flags & M_PKTHDR, ("mac_init_mbuf on non-header mbuf"));
- /* "how" is one of M_(TRY|DONT)WAIT */
mac_init_label(&m->m_pkthdr.label);
- MAC_PERFORM(init_mbuf_label, &m->m_pkthdr.label, how);
+
+ MAC_PERFORM(init_mbuf_label, &m->m_pkthdr.label, flag);
#ifdef MAC_DEBUG
atomic_add_int(&nmacmbufs, 1);
#endif