diff options
author | Guido Günther <agx@sigxcpu.org> | 2014-10-09 09:23:20 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-10-09 09:23:20 +0200 |
commit | 7710f5a7ddb2d16e5a61f33b5b4f717116b47593 (patch) | |
tree | adb8901bc80178254b674cf06607b73bc4b089ac /libplanfahr | |
parent | e83f3a4ccba5daf0fe4817a3441af59ac10fdfec (diff) |
Use g_debug for LPF_DEBUG macro too
This allows us to conveniently turn of debugging even on debug builds.
Diffstat (limited to 'libplanfahr')
-rw-r--r-- | libplanfahr/lpf-priv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libplanfahr/lpf-priv.h b/libplanfahr/lpf-priv.h index 7b1008d..f27485a 100644 --- a/libplanfahr/lpf-priv.h +++ b/libplanfahr/lpf-priv.h @@ -35,7 +35,7 @@ #include <glib/gprintf.h> #define LPF_DEBUG(fmt,...) \ - g_printf ("DEBUG: %s: " fmt "\n", __func__, ##__VA_ARGS__) + g_debug ("%s: " fmt, __func__, ##__VA_ARGS__) #else #define LPF_DEBUG(fmt,...) \ do { } while (0) |