projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dafd724
)
Include function name in debug message
author
Marcel Holtmann
<marcel@holtmann.org>
Tue, 26 Feb 2008 04:26:36 +0000
(
05:26
+0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 26 Feb 2008 04:26:36 +0000
(
05:26
+0100)
include/log.h
patch
|
blob
|
history
diff --git
a/include/log.h
b/include/log.h
index e87e38ad643aa57ce06dd54cc73ef20d5caf7499..bf0dab50b909ef0b0f9d693787a53944f2c8d91d 100644
(file)
--- 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, ...);