summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-07-24 00:25:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-07-24 00:25:26 +0000
commitd6bbca4adaca29de3692de98b5f50282141ba2e8 (patch)
tree5f57d572b657f6559b35549e1c2a22e3c45b5cfd
parent06322f927915a0b2fc883c3eaf2ad3a4d96db91d (diff)
cmd is a u_long
-rw-r--r--sys/netatalk/at_control.c6
-rw-r--r--sys/netatalk/ddp_usrreq.c4
-rw-r--r--sys/netinet/tcp_usrreq.c4
3 files changed, 7 insertions, 7 deletions
diff --git a/sys/netatalk/at_control.c b/sys/netatalk/at_control.c
index a10831427a8..eac2e17a656 100644
--- a/sys/netatalk/at_control.c
+++ b/sys/netatalk/at_control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: at_control.c,v 1.1 1997/07/23 03:39:51 denny Exp $ */
+/* $OpenBSD: at_control.c,v 1.2 1997/07/24 00:25:22 deraadt Exp $ */
/*
* Copyright (c) 1990,1991 Regents of The University of Michigan.
@@ -78,7 +78,7 @@
#include <dev/rndvar.h>
-int at_control __P(( int, caddr_t, struct ifnet *, struct proc * ));
+int at_control __P(( u_long, caddr_t, struct ifnet *, struct proc * ));
static int at_scrub __P(( struct ifnet *, struct at_ifaddr * ));
static int at_ifinit __P(( struct ifnet *, struct at_ifaddr *,
struct sockaddr_at * ));
@@ -99,7 +99,7 @@ static int aa_dosingleroute __P((struct ifaddr *, struct at_addr *,
int
at_control( cmd, data, ifp, p )
- int cmd;
+ u_long cmd;
caddr_t data;
struct ifnet *ifp;
struct proc *p;
diff --git a/sys/netatalk/ddp_usrreq.c b/sys/netatalk/ddp_usrreq.c
index 6c6dac6970e..0a6c5a89d79 100644
--- a/sys/netatalk/ddp_usrreq.c
+++ b/sys/netatalk/ddp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ddp_usrreq.c,v 1.1 1997/07/23 03:39:54 denny Exp $ */
+/* $OpenBSD: ddp_usrreq.c,v 1.2 1997/07/24 00:25:23 deraadt Exp $ */
/*
* Copyright (c) 1990,1994 Regents of The University of Michigan.
@@ -105,7 +105,7 @@ ddp_usrreq( so, req, m, addr, rights )
ddp = sotoddpcb( so );
if ( req == PRU_CONTROL ) {
- return( at_control( (int) m, (caddr_t) addr,
+ return( at_control( (u_long) m, (caddr_t) addr,
(struct ifnet *) rights, p ));
}
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
index 44451215edc..c9741a1c230 100644
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_usrreq.c,v 1.10 1997/06/14 05:49:41 deraadt Exp $ */
+/* $OpenBSD: tcp_usrreq.c,v 1.11 1997/07/24 00:25:25 deraadt Exp $ */
/* $NetBSD: tcp_usrreq.c,v 1.20 1996/02/13 23:44:16 christos Exp $ */
/*
@@ -94,7 +94,7 @@ tcp_usrreq(so, req, m, nam, control)
int ostate;
if (req == PRU_CONTROL)
- return (in_control(so, (long)m, (caddr_t)nam,
+ return (in_control(so, (u_long)m, (caddr_t)nam,
(struct ifnet *)control));
if (control && control->m_len) {
m_freem(control);