summaryrefslogtreecommitdiff
path: root/logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'logging.h')
-rw-r--r--logging.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/logging.h b/logging.h
index 0126de99eb..e0dcb80305 100644
--- a/logging.h
+++ b/logging.h
@@ -38,13 +38,13 @@
#undef err
#define err(format, arg...) \
do { \
- log_message(LOG_ERR ,"%s: " format ,__FILE__ ,## arg); \
+ log_message(LOG_ERR ,"%s: " format ,__FUNCTION__ ,## arg); \
} while (0)
#undef info
#define info(format, arg...) \
do { \
- log_message(LOG_INFO ,"%s: " format ,__FILE__ ,## arg); \
+ log_message(LOG_INFO ,"%s: " format ,__FUNCTION__ ,## arg); \
} while (0)
#ifdef DEBUG