diff options
author | rdivacky <rdivacky@FreeBSD.org> | 2009-06-21 10:29:31 +0000 |
---|---|---|
committer | rdivacky <rdivacky@FreeBSD.org> | 2009-06-21 10:29:31 +0000 |
commit | 9992cf9aeb5d9178333f32395b7e9015cb0c5fec (patch) | |
tree | 709b2b15ea4228160504c96db1a7d1a3e5ee6170 /sys/netinet6/ip6_mroute.c | |
parent | b867569d3ecacd8487aadc3fd07e29e03629bcfd (diff) | |
download | FreeBSD-src-9992cf9aeb5d9178333f32395b7e9015cb0c5fec.zip FreeBSD-src-9992cf9aeb5d9178333f32395b7e9015cb0c5fec.tar.gz |
Switch cmd argument to u_long. This matches what if_ethersubr.c does and
allows the code to compile cleanly on amd64 with clang.
Reviewed by: rwatson
Approved by: ed (mentor)
Diffstat (limited to 'sys/netinet6/ip6_mroute.c')
-rw-r--r-- | sys/netinet6/ip6_mroute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_mroute.c b/sys/netinet6/ip6_mroute.c index e7bec95..49a4d65 100644 --- a/sys/netinet6/ip6_mroute.c +++ b/sys/netinet6/ip6_mroute.c @@ -343,7 +343,7 @@ int X_ip6_mforward(struct ip6_hdr *, struct ifnet *, struct mbuf *); int X_ip6_mrouter_done(void); int X_ip6_mrouter_set(struct socket *, struct sockopt *); int X_ip6_mrouter_get(struct socket *, struct sockopt *); -int X_mrt6_ioctl(int, caddr_t); +int X_mrt6_ioctl(u_long, caddr_t); static void pim6_init(void) @@ -449,7 +449,7 @@ X_ip6_mrouter_get(struct socket *so, struct sockopt *sopt) * Handle ioctl commands to obtain information from the cache */ int -X_mrt6_ioctl(int cmd, caddr_t data) +X_mrt6_ioctl(u_long cmd, caddr_t data) { int ret; |