diff --git a/man/org.freedesktop.hostname1.xml b/man/org.freedesktop.hostname1.xml
index c5abd2511c..9eb2f69c3b 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.