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.13-rc1~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7dcee3f9562938c3e25ca2b96fbc01f5e9251055;p=thirdparty%2Flibvirt.git openvz: Fix wordsize on 64 bit architectures The word size there is 64 bit not 8. --- diff --git a/src/openvz/openvz_conf.c b/src/openvz/openvz_conf.c index 72cd1e64cf..5d897d8fce 100644 --- a/src/openvz/openvz_conf.c +++ b/src/openvz/openvz_conf.c @@ -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,