summaryrefslogtreecommitdiffstats
path: root/sys/net/if.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if.c')
-rw-r--r--sys/net/if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index 2881612..c5e1a56 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -2382,7 +2382,7 @@ ifioctl(struct socket *so, u_long cmd, caddr_t data, struct thread *td)
error = (*ifp->if_ioctl)(ifp, cmd, data);
#else
{
- int ocmd = cmd;
+ u_long ocmd = cmd;
switch (cmd) {
OpenPOWER on IntegriCloud