提交 e534ec66 编写于 作者: O Osier Yang

virsh: Use vshPrint instead of printf

上级 1fbdfc53
...@@ -573,7 +573,7 @@ cmdQemuMonitorCommand(vshControl *ctl, const vshCmd *cmd) ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册