]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: Fix copy&paste error messages in text monitor
authorJiri Denemark <jdenemar@redhat.com>
Thu, 17 Mar 2011 14:42:48 +0000 (15:42 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 18 Mar 2011 09:49:11 +0000 (10:49 +0100)
src/qemu/qemu_monitor_text.c

index 5df7933842ea07ad5d6e2e37f72da7650861c681..91ecc8b0bde860d7eece9c86081eeb6f1baa3784 100644 (file)
@@ -2055,7 +2055,7 @@ try_command:
 
     if (qemuMonitorHMPCommand(mon, cmd, &reply) < 0) {
         qemuReportError(VIR_ERR_OPERATION_FAILED,
-                        _("failed to close fd in qemu with '%s'"), cmd);
+                        _("failed to attach drive '%s'"), drivestr);
         goto cleanup;
     }
 
@@ -2324,7 +2324,7 @@ int qemuMonitorTextAddDrive(qemuMonitorPtr mon,
 
     if (qemuMonitorHMPCommand(mon, cmd, &reply) < 0) {
         qemuReportError(VIR_ERR_OPERATION_FAILED,
-                        _("failed to close fd in qemu with '%s'"), cmd);
+                        _("failed to add drive '%s'"), drivestr);
         goto cleanup;
     }
 
@@ -2425,8 +2425,8 @@ int qemuMonitorTextSetDrivePassphrase(qemuMonitorPtr mon,
     }
 
     if (qemuMonitorHMPCommand(mon, cmd, &reply) < 0) {
-        qemuReportError(VIR_ERR_OPERATION_FAILED,
-                        _("failed to close fd in qemu with '%s'"), cmd);
+        qemuReportError(VIR_ERR_OPERATION_FAILED, "%s",
+                        _("failed to set disk password"));
         goto cleanup;
     }