summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2007-07-18 19:24:22 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2007-07-18 19:24:22 +0000
commit92ef58e006cef6212e23c812a0abff9e0e211629 (patch)
treea8db34fb0ac85623fd8fc957dca0b903cae3bc97
parentae50470e6b1b394f8723beaa9a529da47199d5b3 (diff)
unbreak build.
pointed out by mglocker@
-rw-r--r--sys/dev/ic/acx100.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/acx100.c b/sys/dev/ic/acx100.c
index 8115121b521..bc1f1110b2b 100644
--- a/sys/dev/ic/acx100.c
+++ b/sys/dev/ic/acx100.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acx100.c,v 1.19 2007/07/18 18:10:31 damien Exp $ */
+/* $OpenBSD: acx100.c,v 1.20 2007/07/18 19:24:21 damien Exp $ */
/*
* Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org>
@@ -692,7 +692,7 @@ acx100_set_wepkey(struct acx_softc *sc, struct ieee80211_key *k, int k_idx)
if (k->k_len > ACX100_WEPKEY_LEN) {
printf("%s: %dth WEP key size beyond %d\n",
- ifp->if_xname, wk_idx, ACX100_WEPKEY_LEN);
+ ifp->if_xname, k_idx, ACX100_WEPKEY_LEN);
return EINVAL;
}