examples/distributor: fix debug macro
The macro to turn on additional debug output when the app was compiled
with "-DDEBUG" was missing a ";".
Fixes: 07db4a9750
("examples/distributor: new sample app")
Signed-off-by: Anbarasan Murugesan <anbarasanx.murugesan@intel.com>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
This commit is contained in:
parent
7e1fa1de8a
commit
c91b871b8e
@ -57,7 +57,7 @@
|
||||
#ifdef DEBUG
|
||||
#define LOG_LEVEL RTE_LOG_DEBUG
|
||||
#define LOG_DEBUG(log_type, fmt, args...) do { \
|
||||
RTE_LOG(DEBUG, log_type, fmt, ##args) \
|
||||
RTE_LOG(DEBUG, log_type, fmt, ##args); \
|
||||
} while (0)
|
||||
#else
|
||||
#define LOG_LEVEL RTE_LOG_INFO
|
||||
|
Loading…
Reference in New Issue
Block a user