]> xenbits.xensource.com Git - libvirt.git/commitdiff
util: Fix typo in virGetHostname description
authorJiri Denemark <jdenemar@redhat.com>
Fri, 14 Oct 2011 14:25:50 +0000 (16:25 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 14 Oct 2011 14:25:50 +0000 (16:25 +0200)
src/util/util.c

index fd4d7faed92091cb6e4b0b8e9cadad9d0851d1d1..dac616bdb9d4a32a6878669e6a24ef9bf53ef277 100644 (file)
@@ -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.