summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2003-09-02 16:58:11 +0000
committertedu <tedu@openbsd.org>2003-09-02 16:58:11 +0000
commit3badfdb295d3a237b8f9393811a5c599dfa6a4a8 (patch)
tree91ca28540d6f7cf942f30264db6b7c6cc15d3ee4
parentfix suser() calls, pr3430 (diff)
downloadwireguard-openbsd-3badfdb295d3a237b8f9393811a5c599dfa6a4a8.tar.xz
wireguard-openbsd-3badfdb295d3a237b8f9393811a5c599dfa6a4a8.zip
missing #endif, pr3431
-rw-r--r--sys/dev/ic/awi_wep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/awi_wep.c b/sys/dev/ic/awi_wep.c
index c0b611f99c3..e552ead9f1d 100644
--- a/sys/dev/ic/awi_wep.c
+++ b/sys/dev/ic/awi_wep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: awi_wep.c,v 1.9 2003/08/15 20:32:16 tedu Exp $ */
+/* $OpenBSD: awi_wep.c,v 1.10 2003/09/02 16:58:11 tedu Exp $ */
/* $NetBSD: awi_wep.c,v 1.2 2000/07/04 14:47:58 onoe Exp $ */
/*
@@ -212,6 +212,7 @@ awi_wep_getnwkey(sc, nwkey)
#else
suerr = suser(curproc->p_ucred, &curproc->p_acflag);
#endif
+#endif
error = 0;
for (i = 0; i < IEEE80211_WEP_NKID; i++) {
if (nwkey->i_key[i].i_keydat == NULL)