From: Zbigniew Jędrzejewski-Szmek Date: Tue, 28 Jun 2016 17:51:30 +0000 (-0400) Subject: systemd-resolve: use plural "DNS Servers" X-Git-Tag: v231~53^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7b7c1aacf6caf45834ddc7e50d2ef8bad15456d3;p=thirdparty%2Fsystemd.git systemd-resolve: use plural "DNS Servers" Usually multiple DNS servers are configured, and it looks strange to have singular in the heading. --- diff --git a/src/resolve/resolve-tool.c b/src/resolve/resolve-tool.c index 4e1e9166690..859dc1920b6 100644 --- a/src/resolve/resolve-tool.c +++ b/src/resolve/resolve-tool.c @@ -1229,8 +1229,8 @@ static int status_ifindex(sd_bus *bus, int ifindex, const char *name, bool *empt yes_no(link_info.dnssec_supported)); STRV_FOREACH(i, link_info.dns) { - printf(" %s %s\n", - i == link_info.dns ? "DNS Server:" : " ", + printf(" %s %s\n", + i == link_info.dns ? "DNS Servers:" : " ", *i); } @@ -1412,8 +1412,8 @@ static int status_global(sd_bus *bus, bool *empty_line) { printf("%sGlobal%s\n", ansi_highlight(), ansi_normal()); STRV_FOREACH(i, global_info.dns) { - printf(" %s %s\n", - i == global_info.dns ? "DNS Server:" : " ", + printf(" %s %s\n", + i == global_info.dns ? "DNS Servers:" : " ", *i); }