From e858eda3a0e4d1bf604fa68f9b44ee228d18bd74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Thu, 14 Jun 2012 20:14:05 +0200 Subject: [PATCH] openvz: Fix wordsize on 64 bit architectures The word size there is 64 bit not 8. (cherry picked from commit 7dcee3f9562938c3e25ca2b96fbc01f5e9251055) --- src/openvz/openvz_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,