diff options
author | Sven Eden <yamakuzure@gmx.net> | 2018-06-18 17:33:08 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-06-29 07:12:51 +0200 |
commit | d2c90687368fb1b6b46e1d776845d6ad3c59c4a2 (patch) | |
tree | f4f950828bf1c695c9543490715119d092329474 /src/login/logind.c | |
parent | 9e89768d6cfef494067b82871b4d9b1d2bac2d8e (diff) |
Fix elogind debug mode:
When switched from autotools to meson, config.h changed fundamentally.
Although enabled values are still
#define HAVE_FOO 1
the disabled values are nolonger undef, but now
#define HAVE_FOO 0
Therefore all instances of
#ifdef ENABLE_DEBUG_ELOGIND
have been changed to
#if ENABLE_DEBUG_ELOGIND
Diffstat (limited to 'src/login/logind.c')
-rw-r--r-- | src/login/logind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind.c b/src/login/logind.c index ec407852a..1251eb0ba 100644 --- a/src/login/logind.c +++ b/src/login/logind.c @@ -1284,7 +1284,7 @@ int main(int argc, char *argv[]) { log_set_target(LOG_TARGET_AUTO); log_set_facility(LOG_AUTH); log_parse_environment(); -#ifdef ENABLE_DEBUG_ELOGIND +#if ENABLE_DEBUG_ELOGIND log_set_max_level(LOG_DEBUG); log_set_target(LOG_TARGET_SYSLOG_OR_KMSG); #endif // ENABLE_DEBUG_ELOGIND |