提交 01757a46 编写于 作者: J John Ferlan

xencapstest: Resolve Coverity CHECKED_RETURN error

The return from virInitialize() needs to be checked.
上级 ceae7460
......@@ -161,7 +161,8 @@ mymain(void)
int ret = 0;
xenHypervisorInit(&hv_versions);
virInitialize();
if (virInitialize() < 0)
return EXIT_FAILURE;
if (virtTestRun("Capabilities for i686, no PAE, no HVM",
1, testXeni686, NULL) != 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册