tree-wide: use return value of log_xxx_errno()

This commit is contained in:
Yu Watanabe
2020-11-20 02:58:27 +09:00
parent a61c0bdf39
commit fed66db05d
4 changed files with 21 additions and 39 deletions
+1 -2
View File
@@ -282,8 +282,7 @@ void dns_query_candidate_notify(DnsQueryCandidate *c) {
return;
fail:
log_warning_errno(r, "Failed to follow search domains: %m");
c->error_code = r;
c->error_code = log_warning_errno(r, "Failed to follow search domains: %m");
dns_query_ready(c->query);
}