[libvirt] [PATCH] libvirt_nss.c: Fix typo in aiforaf()

Michal Privoznik mprivozn at redhat.com
Fri Sep 22 11:21:33 UTC 2017


In my previous commit of b1d87f9ad96f I've made a typo breaking
the FreeBSD build. s/ipAaddr/ipAddr/

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---

Pushed under trivial & build breaker rules.
This time I've even tested it on my FreeBSD machine.

 tools/nss/libvirt_nss.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/nss/libvirt_nss.c b/tools/nss/libvirt_nss.c
index da4bf79a4..49dc621ab 100644
--- a/tools/nss/libvirt_nss.c
+++ b/tools/nss/libvirt_nss.c
@@ -643,7 +643,7 @@ aiforaf(const char *name, int af, struct addrinfo *pai, struct addrinfo **aip)
         hints.ai_family = af;
 
         if (getaddrinfo(ipAddr, NULL, &hints, &res0)) {
-            VIR_FREE(ipAaddr);
+            VIR_FREE(ipAddr);
             addrList++;
             continue;
         }
@@ -655,7 +655,7 @@ aiforaf(const char *name, int af, struct addrinfo *pai, struct addrinfo **aip)
         while ((*aip)->ai_next)
            *aip = (*aip)->ai_next;
 
-        VIR_FREE(ipAaddr);
+        VIR_FREE(ipAddr);
         addrList++;
     }
 }
-- 
2.13.5




More information about the libvir-list mailing list