[libvirt] [PATCH 02/17] virsh-volume: Rename helper function makeCloneXML to vshMakeCloneXML

Peter Krempa pkrempa at redhat.com
Mon Jan 21 18:07:27 UTC 2013


---
 tools/virsh-volume.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/virsh-volume.c b/tools/virsh-volume.c
index e17d946..466188c 100644
--- a/tools/virsh-volume.c
+++ b/tools/virsh-volume.c
@@ -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;
-- 
1.8.1.1




More information about the libvir-list mailing list