virsh: Use vshPrint instead of printf

This commit is contained in:
Osier Yang 2013-05-14 23:27:01 +08:00
parent 84d9142495
commit 8b9eb14a6d

View File

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