提交 c3ad755f 编写于 作者: J Jiri Denemark

qemu: Fix copy&paste error messages in text monitor

上级 d5df67be
...@@ -2055,7 +2055,7 @@ try_command: ...@@ -2055,7 +2055,7 @@ try_command:
if (qemuMonitorHMPCommand(mon, cmd, &reply) < 0) { if (qemuMonitorHMPCommand(mon, cmd, &reply) < 0) {
qemuReportError(VIR_ERR_OPERATION_FAILED, qemuReportError(VIR_ERR_OPERATION_FAILED,
_("failed to close fd in qemu with '%s'"), cmd); _("failed to attach drive '%s'"), drivestr);
goto cleanup; goto cleanup;
} }
...@@ -2324,7 +2324,7 @@ int qemuMonitorTextAddDrive(qemuMonitorPtr mon, ...@@ -2324,7 +2324,7 @@ int qemuMonitorTextAddDrive(qemuMonitorPtr mon,
if (qemuMonitorHMPCommand(mon, cmd, &reply) < 0) { if (qemuMonitorHMPCommand(mon, cmd, &reply) < 0) {
qemuReportError(VIR_ERR_OPERATION_FAILED, qemuReportError(VIR_ERR_OPERATION_FAILED,
_("failed to close fd in qemu with '%s'"), cmd); _("failed to add drive '%s'"), drivestr);
goto cleanup; goto cleanup;
} }
...@@ -2425,8 +2425,8 @@ int qemuMonitorTextSetDrivePassphrase(qemuMonitorPtr mon, ...@@ -2425,8 +2425,8 @@ int qemuMonitorTextSetDrivePassphrase(qemuMonitorPtr mon,
} }
if (qemuMonitorHMPCommand(mon, cmd, &reply) < 0) { if (qemuMonitorHMPCommand(mon, cmd, &reply) < 0) {
qemuReportError(VIR_ERR_OPERATION_FAILED, qemuReportError(VIR_ERR_OPERATION_FAILED, "%s",
_("failed to close fd in qemu with '%s'"), cmd); _("failed to set disk password"));
goto cleanup; goto cleanup;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册