提交 04682e69 编写于 作者: E Eric Blake

build: fix typo in recent test patch

* src/test/test_driver.c (testDomainUndefineFlags): Use right
variable name.
上级 ecc27354
......@@ -2604,8 +2604,8 @@ static int testDomainUndefineFlags(virDomainPtr domain,
event = virDomainEventNewFromObj(privdom,
VIR_DOMAIN_EVENT_UNDEFINED,
VIR_DOMAIN_EVENT_UNDEFINED_REMOVED);
if (virDomainObjIsActive(vm)) {
vm->persistent = 0;
if (virDomainObjIsActive(privdom)) {
privdom->persistent = 0;
} else {
virDomainRemoveInactive(&privconn->domains,
privdom);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册