Rename function argument from command to cmd, to make the code

actually build after the previous change.
This commit is contained in:
he 2007-09-03 11:29:43 +00:00
parent c350e25fb3
commit 2f1d720086
2 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_es.c,v 1.40 2007/09/01 07:32:22 dyoung Exp $ */
/* $NetBSD: if_es.c,v 1.41 2007/09/03 11:29:43 he Exp $ */
/*
* Copyright (c) 1995 Michael L. Hitch
@ -38,7 +38,7 @@
#include "opt_ns.h"
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_es.c,v 1.40 2007/09/01 07:32:22 dyoung Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_es.c,v 1.41 2007/09/03 11:29:43 he Exp $");
#include "bpfilter.h"
@ -961,7 +961,7 @@ esstart(struct ifnet *ifp)
}
int
esioctl(register struct ifnet *ifp, u_long command, void *data)
esioctl(register struct ifnet *ifp, u_long cmd, void *data)
{
struct es_softc *sc = ifp->if_softc;
register struct ifaddr *ifa = (struct ifaddr *)data;
@ -970,7 +970,7 @@ esioctl(register struct ifnet *ifp, u_long command, void *data)
s = splnet();
switch (command) {
switch (cmd) {
case SIOCSIFADDR:
ifp->if_flags |= IFF_UP;
@ -1055,7 +1055,7 @@ esioctl(register struct ifnet *ifp, u_long command, void *data)
case SIOCGIFMEDIA:
case SIOCSIFMEDIA:
error = ifmedia_ioctl(ifp, ifr, &sc->sc_media, command);
error = ifmedia_ioctl(ifp, ifr, &sc->sc_media, cmd);
break;
default:

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_qn.c,v 1.29 2007/09/01 07:32:23 dyoung Exp $ */
/* $NetBSD: if_qn.c,v 1.30 2007/09/03 11:29:43 he Exp $ */
/*
* Copyright (c) 1995 Mika Kortelainen
@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_qn.c,v 1.29 2007/09/01 07:32:23 dyoung Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_qn.c,v 1.30 2007/09/03 11:29:43 he Exp $");
#include "qn.h"
#if NQN > 0
@ -817,7 +817,7 @@ qnintr(void *arg)
* I somehow think that this is quite a common excuse... ;-)
*/
int
qnioctl(register struct ifnet *ifp, u_long command, void *data)
qnioctl(register struct ifnet *ifp, u_long cmd, void *data)
{
struct qn_softc *sc = ifp->if_softc;
register struct ifaddr *ifa = (struct ifaddr *)data;
@ -828,7 +828,7 @@ qnioctl(register struct ifnet *ifp, u_long command, void *data)
s = splnet();
switch (command) {
switch (cmd) {
case SIOCSIFADDR:
ifp->if_flags |= IFF_UP;