[libvirt] [PATCH] qemu: fix typos in qemu_monitor_text.c

Osier Yang jyang at redhat.com
Sat Nov 13 00:07:57 UTC 2010


* src/qemu/qemu_monitor_text.c (qemuMonitorTextChangeMedia)
---
 src/qemu/qemu_monitor_text.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/qemu/qemu_monitor_text.c b/src/qemu/qemu_monitor_text.c
index 2552111..64ec57b 100644
--- a/src/qemu/qemu_monitor_text.c
+++ b/src/qemu/qemu_monitor_text.c
@@ -906,7 +906,7 @@ int qemuMonitorTextChangeMedia(qemuMonitorPtr mon,
 
     if (qemuMonitorCommand(mon, cmd, &reply) < 0) {
         qemuReportError(VIR_ERR_OPERATION_FAILED,
-                        _("could not eject media on %s"), devname);
+                        _("could not change media on %s"), devname);
         goto cleanup;
     }
 
@@ -915,7 +915,7 @@ int qemuMonitorTextChangeMedia(qemuMonitorPtr mon,
      * No message is printed on success it seems */
     if (strstr(reply, "device ")) {
         qemuReportError(VIR_ERR_OPERATION_FAILED,
-                        _("could not eject media on %s: %s"), devname, reply);
+                        _("could not change media on %s: %s"), devname, reply);
         goto cleanup;
     }
 
-- 
1.7.3.2




More information about the libvir-list mailing list