mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
virsh-volume: Rename helper function makeCloneXML to vshMakeCloneXML
This commit is contained in:
parent
f4464002fc
commit
042bf709a9
@ -464,7 +464,7 @@ cleanup:
|
||||
}
|
||||
|
||||
static xmlChar *
|
||||
makeCloneXML(const char *origxml, const char *newname)
|
||||
vshMakeCloneXML(const char *origxml, const char *newname)
|
||||
{
|
||||
|
||||
xmlDocPtr doc = NULL;
|
||||
@ -555,7 +555,7 @@ cmdVolClone(vshControl *ctl, const vshCmd *cmd)
|
||||
if (!origxml)
|
||||
goto cleanup;
|
||||
|
||||
newxml = makeCloneXML(origxml, name);
|
||||
newxml = vshMakeCloneXML(origxml, name);
|
||||
if (!newxml) {
|
||||
vshPrint(ctl, "%s", _("Failed to allocate XML buffer"));
|
||||
goto cleanup;
|
||||
|
Loading…
x
Reference in New Issue
Block a user