From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: [PATCH] examples/distributor: fix missing "; " in debug macro Date: Fri, 5 Jun 2015 17:01:17 +0100 Message-ID: <1433520077-11234-1-git-send-email-bruce.richardson@intel.com> To: dev@dpdk.org Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id A9B7D37A8 for ; Fri, 5 Jun 2015 18:01:21 +0200 (CEST) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- examples/distributor/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/distributor/main.c b/examples/distributor/main.c index ae3e7b3..972bddb 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 -- 2.4.2