提交 c7095a4b 编写于 作者: J John Levon

Improve xend_get error message

上级 443698d2
Thu Jan 15 15:11:35 GMT 2009 John Levon <levon@movementarian.org>
* src/xend_internal.c: Improve xend_get error message
Thu Jan 15 01:31:45 GMT 2009 John Levon <levon@movementarian.org>
* src/xen_internal.c: implement capabilities parsing for Solaris
......
......@@ -393,7 +393,8 @@ xend_get(virConnectPtr xend, const char *path,
if (((ret < 0) || (ret >= 300)) &&
((ret != 404) || (!STRPREFIX(path, "/xend/domain/")))) {
virXendError(xend, VIR_ERR_GET_FAILED,
_("xend_get: error from xen daemon: %s"), content);
_("%d status from xen daemon: %s:%s"),
ret, path, content);
}
return ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册