On 05/14/2013 09:28 AM, Osier Yang wrote:
---
tools/virsh-domain.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
ACK.
diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index 86786ee..546b182 100644
--- a/tools/virsh-domain.c
+++ b/tools/virsh-domain.c
@@ -7670,7 +7670,7 @@ cmdQemuAgentCommand(vshControl *ctl, const vshCmd *cmd)
}
result = virDomainQemuAgentCommand(dom, guest_agent_cmd, timeout, flags);
- if (result) printf("%s\n", result);
+ vshPrint(ctl, "%s\n", result);
ret = true;
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org