chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87ff6b1
)
log: Fix previous commit to use correct level
author
Colin Walters
<walters@verbum.org>
Sun, 20 Oct 2013 20:02:26 +0000
(16:02 -0400)
committer
Colin Walters
<walters@verbum.org>
Sun, 20 Oct 2013 20:02:26 +0000
(16:02 -0400)
src/shared/log.h
patch
|
blob
|
history
diff --git
a/src/shared/log.h
b/src/shared/log.h
index ac20a985c5eec1248337de09ef21dcc68819e61a..0dc5c261008fd46c22e1b794d566c26a47650581 100644
(file)
--- 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__)