From d536f6b1771209c829f58128c9f2f2c0b5c29c56 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Mon, 17 May 2010 09:39:11 -0400 Subject: [PATCH] qemu: Fix previous commit, use comparision in if() --- src/qemu/qemu_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 5f1d6b59f4..ab6bec88ab 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -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; }