]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
build: fix broken build
authorEric Blake <eblake@redhat.com>
Wed, 20 Jul 2011 03:33:51 +0000 (21:33 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 20 Jul 2011 03:40:05 +0000 (21:40 -0600)
* src/libxl/libxl_driver.c (libxlDomainUndefineFlags): Use correct
enum value.
* src/remote_protocol-structs (remote_procedure): Likewise.

src/libxl/libxl_driver.c
src/remote_protocol-structs

index 2e7197ce850fb33643fa76d42965299e35b72cd9..d52a8b69588195c411bd6ee4c32cf21c994a34d8 100644 (file)
@@ -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;
             }
index 46f3a004f5bb4b17c7427979bcb45ee3f4539f5c..96e74eb85e5c22e72043aa3a7c4bed3f97f7bf25 100644 (file)
@@ -1863,5 +1863,5 @@ enum remote_procedure {
         REMOTE_PROC_NODE_GET_MEMORY_STATS = 228,
         REMOTE_PROC_DOMAIN_GET_CONTROL_INFO = 229,
         REMOTE_PROC_DOMAIN_GET_VCPU_PIN_INFO = 230,
-        REMOTE_PROC_DOMAIN_GET_VCPU_PIN_INFO = 231,
+        REMOTE_PROC_DOMAIN_UNDEFINE_FLAGS = 231,
 };