openvz: Fix wordsize on 64 bit architectures

The word size there is 64 bit not 8.
(cherry picked from commit 7dcee3f956)
This commit is contained in:
Guido Günther 2012-06-14 20:14:05 +02:00 committed by Cole Robinson
parent bba793dcf5
commit e858eda3a0

View 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,