diff --git a/lib/libc/net/gethostbyname.3 b/lib/libc/net/gethostbyname.3 index ba5b428904f..1b48c4a4153 100644 --- a/lib/libc/net/gethostbyname.3 +++ b/lib/libc/net/gethostbyname.3 @@ -114,7 +114,7 @@ this is for backward compatibility. When using the nameserver, .Fn gethostbyname and -.Fn gethostbyname +.Fn gethostbyname2 will search for the named host in the current domain and its parents unless the name ends in a dot. If the name contains no dot, and if the environment variable