[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



On 2013年01月22日 02:07, Peter Krempa wrote:
---
  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;

ACK


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]