From eae44c3f5a05b16f136500e36bdc7a630f781de2 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Wed, 8 Oct 2008 23:53:09 +0000 Subject: cosmetic change for ioctl funtions.. move splnet out from variable declaration. --- sys/arch/vax/if/if_qe.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys/arch/vax/if/if_qe.c') diff --git a/sys/arch/vax/if/if_qe.c b/sys/arch/vax/if/if_qe.c index e1ac2c63350..736db37ff29 100644 --- a/sys/arch/vax/if/if_qe.c +++ b/sys/arch/vax/if/if_qe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_qe.c,v 1.22 2008/10/02 20:21:13 brad Exp $ */ +/* $OpenBSD: if_qe.c,v 1.23 2008/10/08 23:53:08 brad Exp $ */ /* $NetBSD: if_qe.c,v 1.51 2002/06/08 12:28:37 ragge Exp $ */ /* * Copyright (c) 1999 Ludd, University of Lule}, Sweden. All rights reserved. @@ -633,7 +633,9 @@ qeioctl(struct ifnet *ifp, u_long cmd, caddr_t data) struct qe_softc *sc = ifp->if_softc; struct ifreq *ifr = (struct ifreq *)data; struct ifaddr *ifa = (struct ifaddr *)data; - int s = splnet(), error = 0; + int s, error = 0; + + s = splnet(); switch (cmd) { case SIOCSIFADDR: -- cgit v1.2.3