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

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



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


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