1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00

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) if (virDomainQemuMonitorCommand(dom, monitor_cmd, &result, flags) < 0)
goto cleanup; goto cleanup;
printf("%s\n", result); vshPrint(ctl, "%s\n", result);
ret = true; ret = true;