]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
openvz: Fix wordsize on 64 bit architectures
authorGuido Günther <agx@sigxcpu.org>
Thu, 14 Jun 2012 18:14:05 +0000 (20:14 +0200)
committerCole Robinson <crobinso@redhat.com>
Sun, 12 Aug 2012 22:35:08 +0000 (18:35 -0400)
The word size there is 64 bit not 8.
(cherry picked from commit 7dcee3f9562938c3e25ca2b96fbc01f5e9251055)

src/openvz/openvz_conf.c

index 5848ec4edde670e7c81d37cb9808134e66c2e587..6f0e1916acd652642da019e96b4e5af88642b4a6 100644 (file)
@@ -154,7 +154,7 @@ virCapsPtr openvzCapsInit(void)
     if ((guest = virCapabilitiesAddGuest(caps,
                                          "exe",
                                          utsname.machine,
-                                         sizeof(int) == 4 ? 32 : 8,
+                                         sizeof(int) == 4 ? 32 : 64,
                                          NULL,
                                          NULL,
                                          0,