summaryrefslogtreecommitdiff
path: root/sys/arch/vax/bi/if_ni.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/vax/bi/if_ni.c')
-rw-r--r--sys/arch/vax/bi/if_ni.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/vax/bi/if_ni.c b/sys/arch/vax/bi/if_ni.c
index fb314d17770..8fe236275df 100644
--- a/sys/arch/vax/bi/if_ni.c
+++ b/sys/arch/vax/bi/if_ni.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ni.c,v 1.11 2008/10/02 20:21:13 brad Exp $ */
+/* $OpenBSD: if_ni.c,v 1.12 2008/10/08 23:53:08 brad Exp $ */
/* $NetBSD: if_ni.c,v 1.15 2002/05/22 16:03:14 wiz Exp $ */
/*
* Copyright (c) 2000 Ludd, University of Lule}, Sweden. All rights reserved.
@@ -697,7 +697,9 @@ niioctl(ifp, cmd, data)
struct ni_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: