From fc1f79f71ca79ba6be95af9b0c844902b09566a5 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Thu, 23 Apr 2009 18:29:47 +0000 Subject: Use a more natural order git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7234 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/xen_console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/xen_console.c') diff --git a/hw/xen_console.c b/hw/xen_console.c index 27f809d..4280000 100644 --- a/hw/xen_console.c +++ b/hw/xen_console.c @@ -189,7 +189,7 @@ static int con_init(struct XenDevice *xendev) free(dom); type = xenstore_read_str(con->console, "type"); - if (!type || 0 != strcmp(type, "ioemu")) { + if (!type || strcmp(type, "ioemu" != 0)) { xen_be_printf(xendev, 1, "not for me (type=%s)\n", type); return -1; } -- cgit v1.1