diff --git a/man2/gethostid.2 b/man2/gethostid.2 index 4e4c9c481..0e06bf1f0 100644 --- a/man2/gethostid.2 +++ b/man2/gethostid.2 @@ -76,7 +76,7 @@ cannot open then it obtains the host name using .BR gethostname (2), passes that host name to -.BR gethostbyaddr (3) +.BR gethostbyname_r (3) in order to obtain the host's IPv4 address, and returns a value obtained by bit-twiddling the IPv4 address. (This value may not be unique.)