mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-06 13:05:20 +00:00
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:
parent
bba793dcf5
commit
e858eda3a0
@ -154,7 +154,7 @@ virCapsPtr openvzCapsInit(void)
|
|||||||
if ((guest = virCapabilitiesAddGuest(caps,
|
if ((guest = virCapabilitiesAddGuest(caps,
|
||||||
"exe",
|
"exe",
|
||||||
utsname.machine,
|
utsname.machine,
|
||||||
sizeof(int) == 4 ? 32 : 8,
|
sizeof(int) == 4 ? 32 : 64,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
0,
|
0,
|
||||||
|
Loading…
Reference in New Issue
Block a user