summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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__)