]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: Fix previous commit, use comparision in if()
authorCole Robinson <crobinso@redhat.com>
Mon, 17 May 2010 13:39:11 +0000 (09:39 -0400)
committerCole Robinson <crobinso@redhat.com>
Mon, 17 May 2010 13:39:11 +0000 (09:39 -0400)
src/qemu/qemu_driver.c

index 5f1d6b59f4d3890fcaefbd466cd60c3fa102dda9..ab6bec88ab20816832d4951c24a3146706312d86 100644 (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;
         }