From: Antonio Alvarez Feijoo Date: Fri, 23 Jun 2023 14:34:55 +0000 (+0200) Subject: man: fix references to gethostname/sethostname X-Git-Tag: v254-rc1~129 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=191b891bf1b01c1041509b951d9d797ceacb181d;p=thirdparty%2Fsystemd.git man: fix references to gethostname/sethostname --- diff --git a/man/org.freedesktop.hostname1.xml b/man/org.freedesktop.hostname1.xml index c5abd2511cf..9eb2f69c3bc 100644 --- a/man/org.freedesktop.hostname1.xml +++ b/man/org.freedesktop.hostname1.xml @@ -205,7 +205,7 @@ node /org/freedesktop/hostname1 { set the hostname, this static hostname has the highest priority. The Hostname property exposes the actual hostname configured in the kernel via - sethostname3. + sethostname2. It can be different from the static hostname. This property is never empty. The PrettyHostname property exposes the pretty hostname @@ -259,7 +259,7 @@ node /org/freedesktop/hostname1 { Applications may read the hostname data directly if hostname change notifications are not necessary. Use - gethostname3, + gethostname2, /etc/hostname (possibly with per-distribution fallbacks), and machine-info3 for that. For more information on these files and syscalls see the respective man pages.