1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-23 21:34:54 +03:00

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

This commit is contained in:
Cole Robinson 2010-05-17 09:39:11 -04:00
parent 560758c900
commit d536f6b177

View File

@ -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;
}