[libvirt] [PATCH] build: fix broken build

Eric Blake eblake at redhat.com
Wed Jul 20 03:37:37 UTC 2011


* src/libxl/libxl_driver.c (libxlDomainUndefineFlags): Use correct
enum value.
---

Pushing under the build-breaker rule.

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

diff --git a/src/libxl/libxl_driver.c b/src/libxl/libxl_driver.c
index 2e7197c..d52a8b6 100644
--- a/src/libxl/libxl_driver.c
+++ b/src/libxl/libxl_driver.c
@@ -2766,7 +2766,7 @@ libxlDomainUndefineFlags(virDomainPtr dom,
     if (virFileExists(name)) {
         if (flags & VIR_DOMAIN_UNDEFINE_MANAGED_SAVE) {
             if (unlink(name) < 0) {
-                libxlError(VIR_ERR_INTERNAL_ERR,
+                libxlError(VIR_ERR_INTERNAL_ERROR,
                            _("Failed to remove domain managed save image"));
                 goto cleanup;
             }
-- 
1.7.4.4




More information about the libvir-list mailing list