From e534ec66dc0aa7e428a3ba50dd575516f8d56b7c Mon Sep 17 00:00:00 2001 From: Osier Yang Date: Fri, 3 Aug 2012 23:48:15 +0800 Subject: [PATCH] virsh: Use vshPrint instead of printf --- tools/virsh-host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/virsh-host.c b/tools/virsh-host.c index 98d9e62d74..d9d09b45f3 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;