]> 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)
committerGuido Günther <agx@sigxcpu.org>
Mon, 18 Jun 2012 21:04:20 +0000 (23:04 +0200)
The word size there is 64 bit not 8.

src/openvz/openvz_conf.c

index 72cd1e64cf91128daab11694c7adb60dc8950123..5d897d8fce9ebe65a6c4c6b7c6fbe8eed05b2157 100644 (file)
@@ -195,7 +195,7 @@ virCapsPtr openvzCapsInit(void)
     if ((guest = virCapabilitiesAddGuest(caps,
                                          "exe",
                                          utsname.machine,
-                                         sizeof(int) == 4 ? 32 : 8,
+                                         sizeof(int) == 4 ? 32 : 64,
                                          NULL,
                                          NULL,
                                          0,