summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/net/if.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index e45710b4202..a13a6307d57 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.4 1996/03/03 21:07:04 niklas Exp $ */
+/* $OpenBSD: if.c,v 1.5 1996/03/05 02:29:37 dm Exp $ */
/* $NetBSD: if.c,v 1.24 1996/02/13 22:00:09 christos Exp $ */
/*
@@ -510,7 +510,8 @@ ifioctl(so, cmd, data, p)
return (EOPNOTSUPP);
#ifndef COMPAT_43
return ((*so->so_proto->pr_usrreq)(so, PRU_CONTROL,
- cmd, data, ifp));
+ (struct mbuf *) cmd, (struct mbuf *) data,
+ (struct mbuf *) ifp));
#else
{
int ocmd = cmd;