virsh: Use vshPrint instead of printf

This commit is contained in:
Osier Yang 2012-08-03 23:48:15 +08:00
parent 1fbdfc53be
commit e534ec66dc

View File

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