summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-10-20 16:02:26 -0400
committerColin Walters <walters@verbum.org>2013-10-20 16:02:26 -0400
commitf24e86530ce0645e88022497af7d238f9c366946 (patch)
tree5f7f5582dfe86cf16f701a4f142ec61150da3f8f /src
parent87ff6b1c2a607c47b2374c5be41ac01302714979 (diff)
log: Fix previous commit to use correct level
Diffstat (limited to 'src')
-rw-r--r--src/shared/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/log.h b/src/shared/log.h
index ac20a985c5..0dc5c26100 100644
--- a/src/shared/log.h
+++ b/src/shared/log.h
@@ -139,7 +139,7 @@ _noreturn_ void log_assert_failed_unreachable(
#define log_full(level, ...) \
do { \
if (log_get_max_level() >= (level)) \
- log_meta(LOG_INFO, __FILE__, __LINE__, __func__, __VA_ARGS__); \
+ log_meta((level), __FILE__, __LINE__, __func__, __VA_ARGS__); \
} while (0)
#define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__)