svn commit: r215602 - stable/8/sys/dev/mpt
Marius Strobl
marius at FreeBSD.org
Sun Nov 21 00:53:20 UTC 2010
Author: marius
Date: Sun Nov 21 00:53:19 2010
New Revision: 215602
URL: http://svn.freebsd.org/changeset/base/215602
Log:
MFC: r215325
Use the correct variable for determining the verbosity level in mpt_lprtc().
While at it, fix the whitespace of that macro.
PR: 149502
Submitted by: Andrew Boyer
Modified:
stable/8/sys/dev/mpt/mpt.h
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
Modified: stable/8/sys/dev/mpt/mpt.h
==============================================================================
--- stable/8/sys/dev/mpt/mpt.h Sun Nov 21 00:50:31 2010 (r215601)
+++ stable/8/sys/dev/mpt/mpt.h Sun Nov 21 00:53:19 2010 (r215602)
@@ -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 *, ...)
More information about the svn-src-stable
mailing list