mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
util: Fix typo in virGetHostname description
This commit is contained in:
@@ -1858,7 +1858,7 @@ char *virIndexToDiskName(int idx, const char *prefix)
|
||||
* try to resolve this to a fully-qualified name. Therefore we pass it
|
||||
* to getaddrinfo(). There are two possible responses:
|
||||
* a) getaddrinfo() resolves to a FQDN - return the FQDN
|
||||
* b) getaddrinfo() files or resolves to localhost - in this case, the
|
||||
* b) getaddrinfo() fails or resolves to localhost - in this case, the
|
||||
* data we got from gethostname() is actually more useful than what
|
||||
* we got from getaddrinfo(). Return the value from gethostname()
|
||||
* and hope for the best.
|
||||
|
||||
Reference in New Issue
Block a user