diff options
| author | rtr <rtr@NetBSD.org> | 2014-06-23 17:18:45 +0000 |
|---|---|---|
| committer | rtr <rtr@NetBSD.org> | 2014-06-23 17:18:45 +0000 |
| commit | 649954714aa86f540725cdd84cd5e4f967c9fab0 (patch) | |
| tree | a16d95fb8c21099b5cff7c534c53b5c98e7886ec /sys/netatalk | |
| parent | 07f380684c2e71f31d57d8ee6e5d4ec33c97fe8a (diff) | |
where appropriate rename xxx_ioctl() struct mbuf * parameters from
`control' to `ifp' after split from xxx_usrreq().
sys_socket.c
fix wrapping of arguments to be consistent with other function calls
in the file after replacing pr_usrreq() call with pr_ioctl() which
required one less argument.
link_proto.c
fix indentation of parameters in link_ioctl() prototype to be
consistent with the rest of the file.
discussed with rmind@
Diffstat (limited to 'sys/netatalk')
| -rw-r--r-- | sys/netatalk/ddp_usrreq.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netatalk/ddp_usrreq.c b/sys/netatalk/ddp_usrreq.c index 4edda98791b..473ba8d72e3 100644 --- a/sys/netatalk/ddp_usrreq.c +++ b/sys/netatalk/ddp_usrreq.c @@ -1,4 +1,4 @@ -/* $NetBSD: ddp_usrreq.c,v 1.45 2014/06/22 08:10:18 rtr Exp $ */ +/* $NetBSD: ddp_usrreq.c,v 1.46 2014/06/23 17:18:45 rtr Exp $ */ /* * Copyright (c) 1990,1991 Regents of The University of Michigan. @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ddp_usrreq.c,v 1.45 2014/06/22 08:10:18 rtr Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ddp_usrreq.c,v 1.46 2014/06/23 17:18:45 rtr Exp $"); #include "opt_mbuftrace.h" @@ -480,10 +480,10 @@ ddp_detach(struct socket *so) static int ddp_ioctl(struct socket *so, struct mbuf *m, struct mbuf *addr, - struct mbuf *rights, struct lwp *l) + struct mbuf *ifp, struct lwp *l) { - return (at_control((long) m, (void *) addr, - (struct ifnet *) rights, l)); + return at_control((long) m, (void *) addr, + (struct ifnet *) ifp, l); } /* |
