提交 042bf709 编写于 作者: P Peter Krempa

virsh-volume: Rename helper function makeCloneXML to vshMakeCloneXML

上级 f4464002
...@@ -464,7 +464,7 @@ cleanup: ...@@ -464,7 +464,7 @@ cleanup:
} }
static xmlChar * static xmlChar *
makeCloneXML(const char *origxml, const char *newname) vshMakeCloneXML(const char *origxml, const char *newname)
{ {
xmlDocPtr doc = NULL; xmlDocPtr doc = NULL;
...@@ -555,7 +555,7 @@ cmdVolClone(vshControl *ctl, const vshCmd *cmd) ...@@ -555,7 +555,7 @@ cmdVolClone(vshControl *ctl, const vshCmd *cmd)
if (!origxml) if (!origxml)
goto cleanup; goto cleanup;
newxml = makeCloneXML(origxml, name); newxml = vshMakeCloneXML(origxml, name);
if (!newxml) { if (!newxml) {
vshPrint(ctl, "%s", _("Failed to allocate XML buffer")); vshPrint(ctl, "%s", _("Failed to allocate XML buffer"));
goto cleanup; goto cleanup;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册