diff --git a/ChangeLog b/ChangeLog index b87891a71b6ec7a64015dc18301b578521e244a4..7a455b9f10e1c7617e5eee98ed236efa490c96e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu May 15 16:06:08 EST 2008 Daniel P. Berrange + + * src/qemu_conf.c: Remove use of strcmp() + Thu May 15 12:21:08 EST 2008 Daniel P. Berrange * src/qemu_conf.c: Fix default disk bus selection logic diff --git a/src/qemu_conf.c b/src/qemu_conf.c index 3e9b78c399cbac6f16ce4edc214e53b9ede252ed..458f5dfe23a47c0c694d0bc8e4b903b4b822a683 100644 --- a/src/qemu_conf.c +++ b/src/qemu_conf.c @@ -1436,7 +1436,7 @@ static int qemudParseInputXML(virConnectPtr conn, } } } else { - if (!strcmp(vm->os.type, "hvm")) { + if (STREQ(vm->os.type, "hvm")) { if (input->type == QEMU_INPUT_TYPE_MOUSE) input->bus = QEMU_INPUT_BUS_PS2; else