From: Guido Günther Date: Thu, 14 Jun 2012 18:14:05 +0000 (+0200) Subject: openvz: Fix wordsize on 64 bit architectures X-Git-Tag: v0.9.11.5~65 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e858eda3a0e4d1bf604fa68f9b44ee228d18bd74;p=thirdparty%2Flibvirt.git openvz: Fix wordsize on 64 bit architectures The word size there is 64 bit not 8. (cherry picked from commit 7dcee3f9562938c3e25ca2b96fbc01f5e9251055) --- diff --git a/src/openvz/openvz_conf.c b/src/openvz/openvz_conf.c index 5848ec4edd..6f0e1916ac 100644 --- a/src/openvz/openvz_conf.c +++ b/src/openvz/openvz_conf.c @@ -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,