Re: [PATCH 12/48] virsh: Use vshPrint instead of printf

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

 



On 2012年08月04日 00:06, Daniel P. Berrange wrote:
On Fri, Aug 03, 2012 at 11:48:15PM +0800, Osier Yang wrote:
---
  tools/virsh-host.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/virsh-host.c b/tools/virsh-host.c
index 98d9e62..d9d09b4 100644
--- a/tools/virsh-host.c
+++ b/tools/virsh-host.c
@@ -573,7 +573,7 @@ cmdQemuMonitorCommand(vshControl *ctl, const vshCmd *cmd)
      if (virDomainQemuMonitorCommand(dom, monitor_cmd,&result, flags)<  0)
          goto cleanup;

-    printf("%s\n", result);
+    vshPrint(ctl, "%s\n", result);

      ret = true;


ACK, trivial

Daniel

Thanks, pushed.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]