diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/uipc_mbuf2.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/kern/uipc_mbuf2.c b/sys/kern/uipc_mbuf2.c index eef4191ebd6..20d8f5573c2 100644 --- a/sys/kern/uipc_mbuf2.c +++ b/sys/kern/uipc_mbuf2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uipc_mbuf2.c,v 1.15 2001/06/23 04:39:33 angelos Exp $ */ +/* $OpenBSD: uipc_mbuf2.c,v 1.16 2002/02/01 15:36:29 art Exp $ */ /* $KAME: uipc_mbuf2.c,v 1.29 2001/02/14 13:42:10 itojun Exp $ */ /* $NetBSD: uipc_mbuf.c,v 1.40 1999/04/01 00:23:25 thorpej Exp $ */ @@ -277,8 +277,7 @@ m_tag_get(type, len, wait) if (len < 0) return (NULL); - MALLOC(t, struct m_tag *, len + sizeof(struct m_tag), M_PACKET_TAGS, - wait); + t = malloc(len + sizeof(struct m_tag), M_PACKET_TAGS, wait); if (t == NULL) return (NULL); t->m_tag_id = type; @@ -291,7 +290,7 @@ void m_tag_free(t) struct m_tag *t; { - FREE(t, M_PACKET_TAGS); + free(t, M_PACKET_TAGS); } /* Prepend a packet tag. */ |