提交 3620e3cd 编写于 作者: J Jiri Denemark 提交者: Mark McLoughlin

Fix a typo in virDiskHasValidPciAddr()

Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
上级 b167672c
......@@ -125,7 +125,7 @@ struct _virDomainDiskDef {
static inline int
virDiskHasValidPciAddr(virDomainDiskDefPtr def)
{
return def->pci_addr.domain || def->pci_addr.domain || def->pci_addr.slot;
return def->pci_addr.domain || def->pci_addr.bus || def->pci_addr.slot;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册