summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-06-28 13:51:30 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-07-17 19:58:02 -0400
commit7b7c1aacf6caf45834ddc7e50d2ef8bad15456d3 (patch)
treebe5987c16319889d060ded605d209a9f9645707e
parente306f2df03d2d5bad1053f1a3afe8a49cd0d87a8 (diff)
systemd-resolve: use plural "DNS Servers"
Usually multiple DNS servers are configured, and it looks strange to have singular in the heading.
-rw-r--r--src/resolve/resolve-tool.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resolve/resolve-tool.c b/src/resolve/resolve-tool.c
index 4e1e916669..859dc1920b 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);
}