summaryrefslogtreecommitdiff
path: root/sys/netinet6
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-07-15 17:56:06 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-07-15 17:56:06 +0000
commit09dea72550190fe8967767d50daf132d319e7b24 (patch)
treefca3cf67794626d846599150472b02e0b1bebadb /sys/netinet6
parent833694dca9f361d5c2a0e430e9964bbbac1299a6 (diff)
rename mbuf ** parameter from m to mp, to match other similar code
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/ip6_mroute.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/ip6_mroute.c b/sys/netinet6/ip6_mroute.c
index 406b8653f95..e6cb30a07cc 100644
--- a/sys/netinet6/ip6_mroute.c
+++ b/sys/netinet6/ip6_mroute.c
@@ -283,16 +283,16 @@ ip6_mrouter_set(int cmd, struct socket *so, struct mbuf *m)
* Handle MRT getsockopt commands
*/
int
-ip6_mrouter_get(int cmd, struct socket *so, struct mbuf **m)
+ip6_mrouter_get(int cmd, struct socket *so, struct mbuf **mp)
{
if (so != ip6_mrouter)
return (EPERM);
- *m = m_get(M_WAIT, MT_SOOPTS);
+ *mp = m_get(M_WAIT, MT_SOOPTS);
switch (cmd) {
case MRT6_PIM:
- return get_pim6(*m);
+ return get_pim6(*mp);
default:
return EOPNOTSUPP;
}