mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 22:27:47 -04:00
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 MFC after: 1 week
This commit is contained in:
parent
d283dd6e81
commit
d6a4eec458
1 changed files with 4 additions and 4 deletions
|
|
@ -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 *, ...)
|
||||
|
|
|
|||
Loading…
Reference in a new issue