summaryrefslogtreecommitdiff
path: root/sys/kern/kern_mbuf.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2007-10-24 19:04:04 +0000
committerRobert Watson <rwatson@FreeBSD.org>2007-10-24 19:04:04 +0000
commit30d239bc4c510432e65a84fa1c14ed67a3ab1c92 (patch)
treefea282db79628eed98808fd38cc46445b2f97ca5 /sys/kern/kern_mbuf.c
parent21439626472b5a6d5317cc38b361bc2368f97d93 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_mbuf.c')
-rw-r--r--sys/kern/kern_mbuf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_mbuf.c b/sys/kern/kern_mbuf.c
index 9015e245b3db..97f4075e9437 100644
--- a/sys/kern/kern_mbuf.c
+++ b/sys/kern/kern_mbuf.c
@@ -323,7 +323,7 @@ mb_ctor_mbuf(void *mem, int size, void *arg, int how)
SLIST_INIT(&m->m_pkthdr.tags);
#ifdef MAC
/* If the label init fails, fail the alloc */
- error = mac_init_mbuf(m, how);
+ error = mac_mbuf_init(m, how);
if (error)
return (error);
#endif
@@ -543,7 +543,7 @@ mb_ctor_pack(void *mem, int size, void *arg, int how)
SLIST_INIT(&m->m_pkthdr.tags);
#ifdef MAC
/* If the label init fails, fail the alloc */
- error = mac_init_mbuf(m, how);
+ error = mac_mbuf_init(m, how);
if (error)
return (error);
#endif