From 1c7ed99027feeb16433ec2e1b558326ffb93923b Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Tue, 25 Apr 2023 17:59:22 +0200 Subject: resolved: adjust message about credentials "credential provided widget" would be better spelled as "credential-provided widget". But let's adjust the message to name the bad credential explicitly: this makes it easier to fix for the user. --- src/resolve/resolved-conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resolve') diff --git a/src/resolve/resolved-conf.c b/src/resolve/resolved-conf.c index d8ee945502..3a67a4747e 100644 --- a/src/resolve/resolved-conf.c +++ b/src/resolve/resolved-conf.c @@ -484,7 +484,7 @@ static void read_credentials(Manager *m) { if (dns) { r = manager_parse_dns_server_string_and_warn(m, DNS_SERVER_SYSTEM, dns); if (r < 0) - log_warning_errno(r, "Failed to parse credential provided DNS server string '%s', ignoring.", dns); + log_warning_errno(r, "Failed to parse credential network.dns '%s', ignoring.", dns); m->read_resolv_conf = false; } @@ -492,7 +492,7 @@ static void read_credentials(Manager *m) { if (domains) { r = manager_parse_search_domains_and_warn(m, domains); if (r < 0) - log_warning_errno(r, "Failed to parse credential provided search domain string '%s', ignoring.", domains); + log_warning_errno(r, "Failed to parse credential network.search_domains '%s', ignoring.", domains); m->read_resolv_conf = false; } -- cgit v1.2.3