From 191b891bf1b01c1041509b951d9d797ceacb181d Mon Sep 17 00:00:00 2001 From: Antonio Alvarez Feijoo Date: Fri, 23 Jun 2023 16:34:55 +0200 Subject: [PATCH] man: fix references to gethostname/sethostname --- man/org.freedesktop.hostname1.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.47.3