[PATCH] vz: fix typo that breaks build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---

I guess it should be back ported to 3.2.0 release too. Sorry that
we missed this during freeze period.

 src/vz/vz_driver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/vz/vz_driver.c b/src/vz/vz_driver.c
index bb1afd0..da83a8f 100644
--- a/src/vz/vz_driver.c
+++ b/src/vz/vz_driver.c
@@ -121,7 +121,7 @@ vzBuildCapabilities(void)
 
     verify(ARRAY_CARDINALITY(archs) == ARRAY_CARDINALITY(emulators));
 
-    for (i = 0; i < ARRAY_CARDINALITY(os_types); i++)
+    for (i = 0; i < ARRAY_CARDINALITY(ostypes); i++)
         for (j = 0; j < ARRAY_CARDINALITY(archs); j++)
             for (k = 0; k < ARRAY_CARDINALITY(emulators); k++)
                 if (vzCapsAddGuestDomain(caps, ostypes[i], archs[j],
-- 
1.8.3.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux