examples/distributor: fix debug macro
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 5 Jun 2015 16:01:17 +0000 (17:01 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 22 Jun 2015 20:33:42 +0000 (22:33 +0200)
The macro to turn on additional debug output when the app was compiled
with "-DDEBUG" was missing a ";".

Fixes: 07db4a975094 ("examples/distributor: new sample app")

Signed-off-by: Anbarasan Murugesan <anbarasanx.murugesan@intel.com>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
examples/distributor/main.c

index ae3e7b3..972bddb 100644 (file)
@@ -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