提交 9c9afba4 编写于 作者: J Jovanka Gulicoska 提交者: Cole Robinson

xen: Replace VIR_ERROR with standard vir*Error in state driver init

上级 de48ee1d
...@@ -407,7 +407,6 @@ static virDrvOpenStatus ...@@ -407,7 +407,6 @@ static virDrvOpenStatus
xenUnifiedConnectOpen(virConnectPtr conn, virConnectAuthPtr auth, unsigned int flags) xenUnifiedConnectOpen(virConnectPtr conn, virConnectAuthPtr auth, unsigned int flags)
{ {
xenUnifiedPrivatePtr priv; xenUnifiedPrivatePtr priv;
char ebuf[1024];
/* /*
* Only the libvirtd instance can open this driver. * Only the libvirtd instance can open this driver.
...@@ -532,8 +531,8 @@ xenUnifiedConnectOpen(virConnectPtr conn, virConnectAuthPtr auth, unsigned int f ...@@ -532,8 +531,8 @@ xenUnifiedConnectOpen(virConnectPtr conn, virConnectAuthPtr auth, unsigned int f
goto error; goto error;
if (virFileMakePath(priv->saveDir) < 0) { if (virFileMakePath(priv->saveDir) < 0) {
VIR_ERROR(_("Errored to create save dir '%s': %s"), priv->saveDir, virReportSystemError(errno, _("Errored to create save dir '%s'"),
virStrerror(errno, ebuf, sizeof(ebuf))); priv->saveDir);
goto error; goto error;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册