From 7710f5a7ddb2d16e5a61f33b5b4f717116b47593 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Thu, 9 Oct 2014 09:23:20 +0200 Subject: Use g_debug for LPF_DEBUG macro too This allows us to conveniently turn of debugging even on debug builds. --- libplanfahr/lpf-priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libplanfahr') 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 #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) -- cgit v1.2.3