mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-02 01:45:17 +00:00
util: Fix typo in virGetHostname description
This commit is contained in:
parent
aaa937c0b6
commit
57d91fca64
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user