提交 d536f6b1 编写于 作者: C Cole Robinson

qemu: Fix previous commit, use comparision in if()

上级 560758c9
......@@ -6489,7 +6489,7 @@ static int qemudDomainStart(virDomainPtr dom) {
* We should still have a reference left to vm but
* one should check for 0 anyway
*/
if (qemuDomainObjEndJob(vm) = 0) {
if (qemuDomainObjEndJob(vm) == 0) {
vm = NULL;
goto cleanup;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册