提交 57495330 编写于 作者: E Eric Blake

build: fix broken build

* src/libxl/libxl_driver.c (libxlDomainUndefineFlags): Use correct
enum value.
* src/remote_protocol-structs (remote_procedure): Likewise.
上级 83e849c1
......@@ -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;
}
......
......@@ -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,
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册