提交 ae612493 编写于 作者: M Martin Kletzander

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: NMartin Kletzander <mkletzan@redhat.com>
上级 44bf83e3
......@@ -14897,8 +14897,8 @@ virDomainShmemDefFind(virDomainDefPtr def,
size_t i;
for (i = 0; i < def->nshmems; i++) {
if (virDomainShmemDefEquals(def->shmems[i], shmem))
break;
if (virDomainShmemDefEquals(shmem, def->shmems[i]))
break;
}
if (i < def->nshmems)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册