summaryrefslogtreecommitdiff
path: root/hw/xen_console.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-23 18:29:47 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-23 18:29:47 +0000
commitfc1f79f71ca79ba6be95af9b0c844902b09566a5 (patch)
treec44e97dc1efbed39bd314264d28a290463643260 /hw/xen_console.c
parent00ea18d19e3ed4acc1b4b92a733d34a04a5fb5af (diff)
downloadqemu-fc1f79f71ca79ba6be95af9b0c844902b09566a5.tar.gz
Use a more natural order
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7234 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/xen_console.c')
-rw-r--r--hw/xen_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xen_console.c b/hw/xen_console.c
index 27f809df6a..4280000c56 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;
}