virsh-volume: Rename helper function makeCloneXML to vshMakeCloneXML
This commit is contained in:
parent
f4464002fc
commit
042bf709a9
@ -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)
|
|||||||
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user