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

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

 



* 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]