aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 4280000..27a0083 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 || strcmp(type, "ioemu" != 0)) {
+ if (!type || strcmp(type, "ioemu") != 0) {
xen_be_printf(xendev, 1, "not for me (type=%s)\n", type);
return -1;
}