mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-24 13:35:17 +00:00
conf: Fix virDomainShmemDefFind
Due to the switch of parameters in a call to virDomainShmemDefEquals() no device was found when looking for device with all the information except address. Also fix the indentation. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
44bf83e313
commit
ae612493ff
@ -14897,7 +14897,7 @@ virDomainShmemDefFind(virDomainDefPtr def,
|
|||||||
size_t i;
|
size_t i;
|
||||||
|
|
||||||
for (i = 0; i < def->nshmems; i++) {
|
for (i = 0; i < def->nshmems; i++) {
|
||||||
if (virDomainShmemDefEquals(def->shmems[i], shmem))
|
if (virDomainShmemDefEquals(shmem, def->shmems[i]))
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user