mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-26 18:41:17 +00:00
Remove use of strcmp()
This commit is contained in:
parent
25f860dc2f
commit
65c2738ea1
@ -1,3 +1,7 @@
|
||||
Thu May 15 16:06:08 EST 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||
|
||||
* src/qemu_conf.c: Remove use of strcmp()
|
||||
|
||||
Thu May 15 12:21:08 EST 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||
|
||||
* src/qemu_conf.c: Fix default disk bus selection logic
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user