summaryrefslogtreecommitdiffstats
path: root/src/nss-myhostname
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-04-14 10:37:40 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-04-21 16:58:04 +0200
commit38b38500c6011d6bc59171ee23d92fba46bd131e (patch)
treeafdb5bd5328ead493714c9a713a268f31cd122c0 /src/nss-myhostname
parentman: reorder hostname1(5) (diff)
downloadsystemd-38b38500c6011d6bc59171ee23d92fba46bd131e.tar.xz
systemd-38b38500c6011d6bc59171ee23d92fba46bd131e.zip
tree-wide: use "hostname" spelling everywhere
It's not that I think that "hostname" is vastly superior to "host name". Quite the opposite — the difference is small, and in some context the two-word version does fit better. But in the tree, there are ~200 occurrences of the first, and >1600 of the other, and consistent spelling is more important than any particular spelling choice.
Diffstat (limited to 'src/nss-myhostname')
-rw-r--r--src/nss-myhostname/nss-myhostname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nss-myhostname/nss-myhostname.c b/src/nss-myhostname/nss-myhostname.c
index 8c16b7f360..9aa6debc16 100644
--- a/src/nss-myhostname/nss-myhostname.c
+++ b/src/nss-myhostname/nss-myhostname.c
@@ -77,7 +77,7 @@ enum nss_status _nss_myhostname_gethostbyname4_r(
return NSS_STATUS_TRYAGAIN;
}
- /* We respond to our local host name, our hostname suffixed with a single dot. */
+ /* We respond to our local hostname, our hostname suffixed with a single dot. */
if (!streq(name, hn) && !streq_ptr(startswith(name, hn), "."))
goto not_found;