summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/dev/if_sn.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2008-10-08 23:53:09 +0000
committerBrad Smith <brad@cvs.openbsd.org>2008-10-08 23:53:09 +0000
commiteae44c3f5a05b16f136500e36bdc7a630f781de2 (patch)
tree03d777deba926aa7574deec55baf9d54c803b077 /sys/arch/mac68k/dev/if_sn.c
parent66bdf1238d537475f7b5980ee028da03226866a7 (diff)
cosmetic change for ioctl funtions.. move splnet out from variable declaration.
Diffstat (limited to 'sys/arch/mac68k/dev/if_sn.c')
-rw-r--r--sys/arch/mac68k/dev/if_sn.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/mac68k/dev/if_sn.c b/sys/arch/mac68k/dev/if_sn.c
index 5e2e50a15c3..97bf9bdf259 100644
--- a/sys/arch/mac68k/dev/if_sn.c
+++ b/sys/arch/mac68k/dev/if_sn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sn.c,v 1.48 2008/10/02 20:21:13 brad Exp $ */
+/* $OpenBSD: if_sn.c,v 1.49 2008/10/08 23:53:08 brad Exp $ */
/* $NetBSD: if_sn.c,v 1.13 1997/04/25 03:40:10 briggs Exp $ */
/*
@@ -254,7 +254,9 @@ snioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
struct ifaddr *ifa;
struct ifreq *ifr;
struct sn_softc *sc = ifp->if_softc;
- int s = splnet(), err = 0;
+ int s, err = 0;
+
+ s = splnet();
switch (cmd) {
case SIOCSIFADDR: