提交 e858eda3 编写于 作者: G Guido Günther 提交者: Cole Robinson

openvz: Fix wordsize on 64 bit architectures

The word size there is 64 bit not 8.
(cherry picked from commit 7dcee3f9)
上级 bba793dc
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册