aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mpt
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2010-11-14 22:34:33 +0000
committerMarius Strobl <marius@FreeBSD.org>2010-11-14 22:34:33 +0000
commitd6a4eec45864ddb91f4522bf1d89b01f2f45ed74 (patch)
tree1a5fc020411ec0cea0d2dffa6e57a7f636871a31 /sys/dev/mpt
parentd283dd6e81445f9add277ceb1adeb50a89a22384 (diff)
Notes
Diffstat (limited to 'sys/dev/mpt')
-rw-r--r--sys/dev/mpt/mpt.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/mpt/mpt.h b/sys/dev/mpt/mpt.h
index f095bbf73545..cf72194c3ad7 100644
--- a/sys/dev/mpt/mpt.h
+++ b/sys/dev/mpt/mpt.h
@@ -1112,10 +1112,10 @@ do { \
mpt_prt(mpt, __VA_ARGS__); \
} while (0)
-#define mpt_lprtc(mpt, level, ...) \
-do { \
- if (level <= (mpt)->debug_level) \
- mpt_prtc(mpt, __VA_ARGS__); \
+#define mpt_lprtc(mpt, level, ...) \
+do { \
+ if (level <= (mpt)->verbose) \
+ mpt_prtc(mpt, __VA_ARGS__); \
} while (0)
#else
void mpt_lprt(struct mpt_softc *, int, const char *, ...)