summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2005-08-17 12:22:50 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2005-08-17 12:22:50 +0000
commit75b7eb0c200882a9a0ebaef4d22a508c9c666af5 (patch)
treed988cc3a52f2561e839cebfcbd294a6c14fbf4b4 /sys/dev
parentd04b79d19ad3ffdc41da81aace285b04c5683a31 (diff)
fix compiling with AR5K_DEBUG. thanks to Bernd Ahlers.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/ar5xxx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ar5xxx.c b/sys/dev/ic/ar5xxx.c
index 9bc314e7438..9ad962dee86 100644
--- a/sys/dev/ic/ar5xxx.c
+++ b/sys/dev/ic/ar5xxx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ar5xxx.c,v 1.27 2005/08/02 12:55:11 reyk Exp $ */
+/* $OpenBSD: ar5xxx.c,v 1.28 2005/08/17 12:22:49 reyk Exp $ */
/*
* Copyright (c) 2004, 2005 Reyk Floeter <reyk@vantronix.net>
@@ -1494,7 +1494,7 @@ ar5k_rfregs_gain_adjust(hal)
done:
#ifdef AR5K_DEBUG
AR5K_PRINTF("ret %d, gain step %u, current gain %u, target gain %u\n",
- g,
+ ret,
hal->ah_gain.g_step_idx,
hal->ah_gain.g_current,
hal->ah_gain.g_target);