1
0

virsh-volume: Rename helper function makeCloneXML to vshMakeCloneXML

This commit is contained in:
Peter Krempa 2013-01-18 16:33:34 +01:00
parent f4464002fc
commit 042bf709a9

View File

@ -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;