[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

* src/remote_protocol-structs (remote_domain_screenshot_args): Use spelling preferred by dwarves. --- Pushing under the build-breaker rule; it affects 'make check' if you have dwarves (for pdwtags) installed. src/remote_protocol-structs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/remote_protocol-structs b/src/remote_protocol-structs index bb4c8d5..11b493c 100644 --- a/src/remote_protocol-structs +++ b/src/remote_protocol-structs @@ -405,8 +405,8 @@ struct remote_domain_core_dump_args { }; struct remote_domain_screenshot_args { remote_nonnull_domain dom; - unsigned int screen; - unsigned int flags; + u_int screen; + u_int flags; }; struct remote_domain_screenshot_ret { remote_string mime; -- 1.7.4.4
participants (1)
-
Eric Blake