summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2005-10-24 02:43:57 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2005-10-24 02:43:57 +0000
commit3617177cd548125156a694e037a1afa4ed12758c (patch)
treee9f762665464e239780533775aea96c11364f15e /sys
parenteb2a8a84549c359efcd7ece9e0808f547d2173c9 (diff)
fix RTW_DEBUG
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/rtw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/rtw.c b/sys/dev/ic/rtw.c
index c514065a25b..94faec79582 100644
--- a/sys/dev/ic/rtw.c
+++ b/sys/dev/ic/rtw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtw.c,v 1.44 2005/10/24 02:41:58 reyk Exp $ */
+/* $OpenBSD: rtw.c,v 1.45 2005/10/24 02:43:56 reyk Exp $ */
/* $NetBSD: rtw.c,v 1.29 2004/12/27 19:49:16 dyoung Exp $ */
/*-
@@ -4653,7 +4653,7 @@ rtw_rf_hostwrite(struct rtw_softc *sc, u_int addr, u_int32_t val)
rtw_rf_hostbangbits;
RTW_DPRINTF(RTW_DEBUG_PHYIO, ("%s: %s[%u] <- %#08x\n", __func__,
- rtw_rfchipid_string(rfchipid), addr, val));
+ rtw_rfchipid_string(sc->sc_rfchipid), addr, val));
switch (sc->sc_rfchipid) {
case RTW_RFCHIPID_MAXIM2820: