From: jinhyung.jo Date: Tue, 21 Oct 2014 04:27:16 +0000 (+0900) Subject: VIGS & YaGL: Fixed the incorrect condition X-Git-Tag: TizenStudio_2.0_p3.0~407^2~36^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a39e2f6c180a2b76801bf2f99d5e3593ad0c8688;p=sdk%2Femulator%2Fqemu.git VIGS & YaGL: Fixed the incorrect condition Fix a wrong variable name, dobj -> wqobj. Change-Id: I7dbd5e110e747343aeefb29c23ab4d28d35c873b Signed-off-by: Jinhyung Jo --- diff --git a/hw/vigs/vigs_device.c b/hw/vigs/vigs_device.c index 464bd10..c3185da 100644 --- a/hw/vigs/vigs_device.c +++ b/hw/vigs/vigs_device.c @@ -336,7 +336,7 @@ static int vigs_device_init(PCIDevice *dev) return -1; } - if (!dobj) { + if (!wqobj) { error_report("unable to create work queue"); return -1; } diff --git a/hw/yagl/yagl_device.c b/hw/yagl/yagl_device.c index 8a8b07f..de24498 100644 --- a/hw/yagl/yagl_device.c +++ b/hw/yagl/yagl_device.c @@ -267,7 +267,7 @@ static int yagl_device_init(PCIDevice *dev) return -1; } - if (!dobj) { + if (!wqobj) { error_report("unable to create work queue"); return -1; }