From: Jiri Denemark Date: Fri, 14 Oct 2011 14:25:50 +0000 (+0200) Subject: util: Fix typo in virGetHostname description X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=57d91fca64123abb133d41cf30a94fd60750ebcd;p=libvirt.git util: Fix typo in virGetHostname description --- diff --git a/src/util/util.c b/src/util/util.c index fd4d7faed9..dac616bdb9 100644 --- a/src/util/util.c +++ b/src/util/util.c @@ -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.