From 3cb4134bcfb2b9f7aa885a39cc0efc3b18125490 Mon Sep 17 00:00:00 2001 From: Matthieu Boutier Date: Wed, 18 Jan 2012 20:20:59 +0100 Subject: babeld: use zlog_debug instead of do_debugf, for debugf. --- babeld/util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'babeld/util.h') 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; } -- cgit v1.2.1