mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
libxl: fix typos in previous patch
* src/libxl/libxl_driver.c (libxlDomainEventFlush, libxlShutdown) (libxlStartup): Fix typos.
This commit is contained in:
parent
4e6e66728f
commit
a9bb4f65ec
@ -133,7 +133,7 @@ libxlDomainEventFlush(int timer ATTRIBUTE_UNUSED, void *opaque)
|
||||
|
||||
libxlDriverLock(driver);
|
||||
virDomainEventStateFlush(driver->domainEventState,
|
||||
libxmlDomainEventDispatchFunc,
|
||||
libxlDomainEventDispatchFunc,
|
||||
driver);
|
||||
libxlDriverUnlock(driver);
|
||||
}
|
||||
@ -686,7 +686,7 @@ libxlShutdown(void)
|
||||
VIR_FREE(libxl_driver->libDir);
|
||||
VIR_FREE(libxl_driver->saveDir);
|
||||
|
||||
virDomainEventStateFree(privconn->domainEventState);
|
||||
virDomainEventStateFree(libxl_driver->domainEventState);
|
||||
|
||||
libxlDriverUnlock(libxl_driver);
|
||||
virMutexDestroy(&libxl_driver->lock);
|
||||
@ -799,10 +799,10 @@ libxlStartup(int privileged) {
|
||||
|
||||
libxl_driver->domainEventState = virDomainEventStateNew(
|
||||
libxlDomainEventFlush,
|
||||
libxml_driver,
|
||||
libxl_driver,
|
||||
NULL,
|
||||
false);
|
||||
if (!libxml_driver->domainEventState)
|
||||
if (!libxl_driver->domainEventState)
|
||||
goto error;
|
||||
|
||||
libxl_driver->logger =
|
||||
|
Loading…
Reference in New Issue
Block a user