[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 1/2] libxl: fix typos in previous patch



* src/libxl/libxl_driver.c (libxlDomainEventFlush, libxlShutdown)
(libxlStartup): Fix typos.
---

Pushing under the build-breaker rule.

 src/libxl/libxl_driver.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/libxl/libxl_driver.c b/src/libxl/libxl_driver.c
index 3598dd6..60557fc 100644
--- a/src/libxl/libxl_driver.c
+++ b/src/libxl/libxl_driver.c
@@ -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 =
-- 
1.7.4.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]