summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Boutier <boutier@pps.jussieu.fr>2012-01-18 20:20:59 +0100
committerPaul Jakma <paul@quagga.net>2012-03-25 17:06:52 +0100
commit3cb4134bcfb2b9f7aa885a39cc0efc3b18125490 (patch)
treec6a6e0177bafc14ad6b240f725a07bb64653a830
parentd3351d1ebf99591cf436035bb148e4ae0b351ffc (diff)
babeld: use zlog_debug instead of do_debugf, for debugf.
-rw-r--r--babeld/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/babeld/util.h b/babeld/util.h
index d64169b0..376b967f 100644
--- a/babeld/util.h
+++ b/babeld/util.h
@@ -154,12 +154,12 @@ static inline void debugf(int level, const char *format, ...) { return; }
#if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
#define debugf(level, ...) \
do { \
-if(UNLIKELY(debug & level)) do_debugf(__VA_ARGS__); \
+if(UNLIKELY(debug & level)) zlog_debug(__VA_ARGS__); \
} while(0)
#elif defined __GNUC__
#define debugf(level, _args...) \
do { \
-if(UNLIKELY(debug & level)) do_debugf(_args); \
+if(UNLIKELY(debug & level)) zlog_debug(_args); \
} while(0)
#else
static inline void debugf(int level, const char *format, ...) { return; }