diff options
author | Matthieu Boutier <boutier@pps.jussieu.fr> | 2012-01-18 20:20:59 +0100 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2012-03-25 18:06:52 +0200 |
commit | 3cb4134bcfb2b9f7aa885a39cc0efc3b18125490 (patch) | |
tree | c6a6e0177bafc14ad6b240f725a07bb64653a830 /babeld/util.h | |
parent | babeld: add command: "show_babel_running_config". (diff) | |
download | frr-3cb4134bcfb2b9f7aa885a39cc0efc3b18125490.tar.xz frr-3cb4134bcfb2b9f7aa885a39cc0efc3b18125490.zip |
babeld: use zlog_debug instead of do_debugf, for debugf.
Diffstat (limited to 'babeld/util.h')
-rw-r--r-- | babeld/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/babeld/util.h b/babeld/util.h index d64169b0c..376b967f6 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; } |