[systemd-commits] src/shared

Colin Walters walters at kemper.freedesktop.org
Sun Oct 20 13:20:32 PDT 2013


 src/shared/log.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f24e86530ce0645e88022497af7d238f9c366946
Author: Colin Walters <walters at verbum.org>
Date:   Sun Oct 20 16:02:26 2013 -0400

    log: Fix previous commit to use correct level

diff --git a/src/shared/log.h b/src/shared/log.h
index ac20a98..0dc5c26 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__)



More information about the systemd-commits mailing list