summaryrefslogtreecommitdiff
path: root/src/resolve
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-10-01 09:46:09 +0200
committerDaniel Mack <github@zonque.org>2015-10-01 09:46:09 +0200
commit47c67a5042968163dae8d4e4d160232800843e55 (patch)
tree8b30347368544961ff6e08d4330fa014b5e43cfc /src/resolve
parent8abf5291564e771bfc62c74a55ab3f3b56f45257 (diff)
parent5c22925a5713ad6f62d89ef478b82e571e9ba688 (diff)
Merge pull request #1426 from poettering/log-syntax
logging fixes and more
Diffstat (limited to 'src/resolve')
-rw-r--r--src/resolve/resolved-conf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resolve/resolved-conf.c b/src/resolve/resolved-conf.c
index 7af63b0a82..cc8d5fa76a 100644
--- a/src/resolve/resolved-conf.c
+++ b/src/resolve/resolved-conf.c
@@ -95,7 +95,7 @@ int config_parse_dnsv(
/* Otherwise add to the list */
r = manager_parse_dns_server(m, ltype, rvalue);
if (r < 0) {
- log_syntax(unit, LOG_ERR, filename, line, -r, "Failed to parse DNS server string '%s'. Ignoring.", rvalue);
+ log_syntax(unit, LOG_ERR, filename, line, r, "Failed to parse DNS server string '%s'. Ignoring.", rvalue);
return 0;
}
}
@@ -131,7 +131,7 @@ int config_parse_support(
if (support < 0) {
r = parse_boolean(rvalue);
if (r < 0) {
- log_syntax(unit, LOG_ERR, filename, line, -r, "Failed to parse support level '%s'. Ignoring.", rvalue);
+ log_syntax(unit, LOG_ERR, filename, line, r, "Failed to parse support level '%s'. Ignoring.", rvalue);
return 0;
}