diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2014-11-28 11:54:25 +0100 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2014-11-28 11:54:25 +0100 |
commit | b4d23205f238e06aaa31264628e20669e714acad (patch) | |
tree | df83b1a4aae41cf8ab3e43da155286ceb584441c /src/shared | |
parent | e8bbb7c7e9163420cb1ba92f82dbc09aab577d1a (diff) |
shared: fix log_emergency_errno macro
It was not passing the error argument.
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/log.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/log.h b/src/shared/log.h index a6b933605d..2b6971f248 100644 --- a/src/shared/log.h +++ b/src/shared/log.h @@ -179,7 +179,7 @@ void log_assert_failed_return( #define log_notice_errno(error, ...) log_full_errno(LOG_NOTICE, error, __VA_ARGS__) #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) -#define log_emergency_errno(error, ...) log_full_errno(getpid() == 1 ? LOG_EMERG : LOG_ERR, __VA_ARGS__) +#define log_emergency_errno(error, ...) log_full_errno(getpid() == 1 ? LOG_EMERG : LOG_ERR, error, __VA_ARGS__) #ifdef LOG_TRACE # define log_trace(...) log_debug(__VA_ARGS__) |