summaryrefslogtreecommitdiff
path: root/logging.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-08-15 11:57:04 +0200
committerKay Sievers <kay.sievers@suse.de>2005-08-15 11:57:04 +0200
commit40caaeec51f5d8f65245932a85396ac85265cbe5 (patch)
tree4709e15ed4451931e8093de6bff0075ab606325b /logging.h
parent8aafc06d943e98dfa4ff8410eb85686e49feccbf (diff)
cleanup some debug output and move to info level + unify select() loops
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
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