summaryrefslogtreecommitdiff
path: root/include/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/log.h')
-rw-r--r--include/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/log.h b/include/log.h
index e87e38ad..bf0dab50 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, ...);