aboutsummaryrefslogtreecommitdiff
path: root/sys/net/if_iso88025subr.c
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@FreeBSD.org>2009-06-21 10:29:31 +0000
committerRoman Divacky <rdivacky@FreeBSD.org>2009-06-21 10:29:31 +0000
commite40bae9a45a5f485e2b1c5964e46019b0eb05d07 (patch)
tree709b2b15ea4228160504c96db1a7d1a3e5ee6170 /sys/net/if_iso88025subr.c
parent941c2e1cd1e62387d1e876739b5e6b0c46fef332 (diff)
downloadsrc-e40bae9a45a5f485e2b1c5964e46019b0eb05d07.tar.gz
src-e40bae9a45a5f485e2b1c5964e46019b0eb05d07.zip
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)
Notes
Notes: svn path=/head/; revision=194581
Diffstat (limited to 'sys/net/if_iso88025subr.c')
-rw-r--r--sys/net/if_iso88025subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_iso88025subr.c b/sys/net/if_iso88025subr.c
index dafc57d24605..933065e25af6 100644
--- a/sys/net/if_iso88025subr.c
+++ b/sys/net/if_iso88025subr.c
@@ -149,7 +149,7 @@ iso88025_ifdetach(ifp, bpf)
}
int
-iso88025_ioctl(struct ifnet *ifp, int command, caddr_t data)
+iso88025_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
{
struct ifaddr *ifa;
struct ifreq *ifr;