From: Bruce Richardson Date: Fri, 5 Jun 2015 16:01:17 +0000 (+0100) Subject: examples/distributor: fix debug macro X-Git-Tag: spdx-start~9008 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c91b871b8e3377f7b6c63780c3230d37368a39e6;p=dpdk.git examples/distributor: fix debug macro 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 Signed-off-by: Bruce Richardson --- diff --git a/examples/distributor/main.c b/examples/distributor/main.c index ae3e7b32d6..972bddb5b3 100644 --- a/examples/distributor/main.c +++ b/examples/distributor/main.c @@ -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