OSDN Git Service

Fix typo, thanks to Andreas Faerber for spotting
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 23 Apr 2009 18:42:30 +0000 (18:42 +0000)
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 23 Apr 2009 18:42:30 +0000 (18:42 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7235 c046a42c-6fe2-441c-8c8c-71466251a162

hw/xen_console.c

index 4280000..27a0083 100644 (file)
@@ -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;
     }