mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 12:05:17 +00:00
openvz: check pointer size instead of int
since int is 4 bytes on both i386 and amd64. (cherry picked from commit 229773fcbd9a06950224600c97350c0d4e8e8701)
This commit is contained in:
parent
340ab1c91c
commit
66d095e673
@ -154,7 +154,7 @@ virCapsPtr openvzCapsInit(void)
|
||||
if ((guest = virCapabilitiesAddGuest(caps,
|
||||
"exe",
|
||||
utsname.machine,
|
||||
sizeof(int) == 4 ? 32 : 64,
|
||||
sizeof(void*) == 4 ? 32 : 64,
|
||||
NULL,
|
||||
NULL,
|
||||
0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user