From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 05 Jun 2015 09:01:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,559,1427785200"; d="scan'208";a="705983547" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga001.jf.intel.com with ESMTP; 05 Jun 2015 09:01:18 -0700 Received: from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com [10.237.217.45]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id t55G1Hrm030086; Fri, 5 Jun 2015 17:01:17 +0100 Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id t55G1HqM011270; Fri, 5 Jun 2015 17:01:17 +0100 Received: (from bricha3@localhost) by sivswdev01.ir.intel.com with id t55G1HeL011266; Fri, 5 Jun 2015 17:01:17 +0100 From: Bruce Richardson To: dev@dpdk.org Date: Fri, 5 Jun 2015 17:01:17 +0100 Message-Id: <1433520077-11234-1-git-send-email-bruce.richardson@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH] examples/distributor: fix missing "; " in debug macro X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2015 16:01:22 -0000 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