DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] examples/distributor: fix missing "; " in debug macro
@ 2015-06-05 16:01 Bruce Richardson
  2015-06-05 20:45 ` Thomas Monjalon
  2015-06-22 20:36 ` Thomas Monjalon
  0 siblings, 2 replies; 7+ messages in thread
From: Bruce Richardson @ 2015-06-05 16:01 UTC (permalink / raw)
  To: 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 <anbarasanx.murugesan@intel.com>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-06-23 16:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-05 16:01 [dpdk-dev] [PATCH] examples/distributor: fix missing "; " in debug macro Bruce Richardson
2015-06-05 20:45 ` Thomas Monjalon
2015-06-08 10:58   ` Bruce Richardson
2015-06-10  0:33     ` Stephen Hemminger
2015-06-22 20:53     ` Thomas Monjalon
2015-06-23 16:00       ` Bruce Richardson
2015-06-22 20:36 ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).