From a04166da2044b5da1ca822aad8a57c42436cf631 Mon Sep 17 00:00:00 2001 From: Daniel Zaoui Date: Wed, 25 Feb 2015 10:36:13 +0200 Subject: [PATCH] DnD: Add line number to debug messages --- legacy/elementary/src/lib/elm_cnp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/elementary/src/lib/elm_cnp.c b/legacy/elementary/src/lib/elm_cnp.c index 4f961f9..f04e11c 100644 --- a/legacy/elementary/src/lib/elm_cnp.c +++ b/legacy/elementary/src/lib/elm_cnp.c @@ -10,7 +10,7 @@ //#define DEBUGON 1 #ifdef DEBUGON -# define cnp_debug(fmt, args...) fprintf(stderr, __FILE__":%s : " fmt , __FUNCTION__, ##args) +# define cnp_debug(fmt, args...) fprintf(stderr, __FILE__":%s/%d : " fmt , __FUNCTION__, __LINE__, ##args) #else # define cnp_debug(x...) do { } while (0) #endif -- 2.7.4