From: Eric Blake Date: Wed, 20 Jul 2011 03:33:51 +0000 (-0600) Subject: build: fix broken build X-Git-Tag: v0.9.4-rc1~117 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=574953309f776437ea402efe8e8a678dd1087d2a;p=thirdparty%2Flibvirt.git build: fix broken build * src/libxl/libxl_driver.c (libxlDomainUndefineFlags): Use correct enum value. * src/remote_protocol-structs (remote_procedure): Likewise. --- diff --git a/src/libxl/libxl_driver.c b/src/libxl/libxl_driver.c index 2e7197ce85..d52a8b6958 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; } diff --git a/src/remote_protocol-structs b/src/remote_protocol-structs index 46f3a004f5..96e74eb85e 100644 --- a/src/remote_protocol-structs +++ b/src/remote_protocol-structs @@ -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, };