From 46a64b472133cce416bd49e00a2cd3c7a2bd7c53 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 26 Feb 2008 05:26:36 +0100 Subject: [PATCH] Include function name in debug message --- include/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/log.h b/include/log.h index e87e38a..bf0dab5 100644 --- a/include/log.h +++ b/include/log.h @@ -26,7 +26,7 @@ extern "C" { #endif -#define DBG(fmt, arg...) connman_debug(fmt, ## arg) +#define DBG(fmt, arg...) connman_debug("%s: " fmt, __FUNCTION__ , ## arg) extern void connman_info(const char *format, ...); extern void connman_error(const char *format, ...); -- 2.7.4