summaryrefslogtreecommitdiffstats
path: root/sys/rpc/rpcm_subs.h
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-03-12 12:17:19 +0000
committerglebius <glebius@FreeBSD.org>2013-03-12 12:17:19 +0000
commit82c443276574e9a4b11ebdaecfcb31fb0f2c3b4a (patch)
tree9e6dc660f3f0a50fdd9ea3d6c263c242a9ddde3d /sys/rpc/rpcm_subs.h
parent89cbb92630b48fdd00ee0d5773899bcfa0726a5a (diff)
downloadFreeBSD-src-82c443276574e9a4b11ebdaecfcb31fb0f2c3b4a.zip
FreeBSD-src-82c443276574e9a4b11ebdaecfcb31fb0f2c3b4a.tar.gz
Use m_get(), m_gethdr() and m_getcl() instead of historic macros.
Sponsored by: Nginx, Inc.
Diffstat (limited to 'sys/rpc/rpcm_subs.h')
-rw-r--r--sys/rpc/rpcm_subs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/rpc/rpcm_subs.h b/sys/rpc/rpcm_subs.h
index f0d60a3..e4fddb5 100644
--- a/sys/rpc/rpcm_subs.h
+++ b/sys/rpc/rpcm_subs.h
@@ -80,7 +80,7 @@
#define rpcm_build(a,c,s) \
{ if ((s) > M_TRAILINGSPACE(mb)) { \
- MGET(mb2, M_WAITOK, MT_DATA); \
+ mb2 = m_get(M_WAITOK, MT_DATA); \
if ((s) > MLEN) \
panic("build > MLEN"); \
mb->m_next = mb2; \
OpenPOWER on IntegriCloud