X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fconf-parser.c;h=2148a30c66c1791e8dd233372a38d82b6d38736f;hb=4034a06ddb82ec9868cd52496fef2f5faa25575f;hp=a1a94da928470dfa2b69f7150cccb1a5ffca466c;hpb=978553ce5e85a57a203be8256e59f304c8c46f3d;p=elogind.git diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c index a1a94da92..2148a30c6 100644 --- a/src/shared/conf-parser.c +++ b/src/shared/conf-parser.c @@ -22,9 +22,7 @@ #include #include #include -#include #include -#include #include "conf-parser.h" #include "conf-files.h" @@ -34,8 +32,6 @@ #include "log.h" #include "utf8.h" #include "path-util.h" -#include "set.h" -#include "exit-status.h" #include "sd-messages.h" int log_syntax_internal( @@ -823,8 +819,7 @@ int config_parse_log_facility( x = log_facility_unshifted_from_string(rvalue); if (x < 0) { - log_syntax(unit, LOG_ERR, filename, line, EINVAL, - "Failed to parse log facility, ignoring: %s", rvalue); + log_syntax(unit, LOG_ERR, filename, line, EINVAL, "Failed to parse log facility, ignoring: %s", rvalue); return 0; } @@ -855,8 +850,7 @@ int config_parse_log_level( x = log_level_from_string(rvalue); if (x < 0) { - log_syntax(unit, LOG_ERR, filename, line, EINVAL, - "Failed to parse log level, ignoring: %s", rvalue); + log_syntax(unit, LOG_ERR, filename, line, EINVAL, "Failed to parse log level, ignoring: %s", rvalue); return 0; }