提交 90ae19cc 编写于 作者: D Daniel Veillard

* src/xen_internal.c: some error handling improvements from Saori Fukuta

Daniel
上级 6664fdec
Fri Jul 20 11:02:28 CEST 2007 Daniel Veillard <veillard@redhat.com>
* src/xen_internal.c: some error handling improvements from Saori Fukuta
Thu Jul 19 18:21:47 CEST 2007 Daniel Veillard <veillard@redhat.com>
* src/Makefile.am src/openvz_conf.c src/openvz_conf.h
......
......@@ -672,7 +672,7 @@ virXenError(virErrorNumber error, const char *info, int value)
errmsg = __virErrorMsg(error, info);
__virRaiseError(NULL, NULL, NULL, VIR_FROM_XEN, error, VIR_ERR_ERROR,
errmsg, info, NULL, value, 0, errmsg, info);
errmsg, info, NULL, value, 0, errmsg, info, value);
}
#ifndef PROXY
......@@ -702,10 +702,12 @@ virXenErrorFunc(virErrorNumber error, const char *func, const char *info,
snprintf(fullinfo, 999, "%s: %s", func, info);
fullinfo[999] = 0;
__virRaiseError(NULL, NULL, NULL, VIR_FROM_XEN, error, VIR_ERR_ERROR,
errmsg, fullinfo, NULL, value, 0, errmsg, fullinfo);
errmsg, fullinfo, NULL, value, 0, errmsg, fullinfo,
value);
} else {
__virRaiseError(NULL, NULL, NULL, VIR_FROM_XEN, error, VIR_ERR_ERROR,
errmsg, info, NULL, value, 0, errmsg, info);
errmsg, info, NULL, value, 0, errmsg, info,
value);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册