summaryrefslogtreecommitdiffstats
path: root/src/basic/hostname-util.c
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/basic/hostname-util.c
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/basic/hostname-util.c')
-rw-r--r--src/basic/hostname-util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/hostname-util.c b/src/basic/hostname-util.c
index 7bc2e3f370..8932c552c8 100644
--- a/src/basic/hostname-util.c
+++ b/src/basic/hostname-util.c
@@ -21,7 +21,7 @@ bool hostname_is_set(void) {
if (isempty(u.nodename))
return false;
- /* This is the built-in kernel default host name */
+ /* This is the built-in kernel default hostname */
if (streq(u.nodename, "(none)"))
return false;
@@ -77,7 +77,7 @@ bool valid_ldh_char(char c) {
}
/**
- * Check if s looks like a valid host name or FQDN. This does not do
+ * Check if s looks like a valid hostname or FQDN. This does not do
* full DNS validation, but only checks if the name is composed of
* allowed characters and the length is not above the maximum allowed
* by Linux (c.f. dns_name_is_valid()). Trailing dot is allowed if