[PATCH] qemu: Clarify a couple error messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A fedora translator filed:

https://bugzilla.redhat.com/show_bug.cgi?id=580816

Pointing out these two error messages as unclear: "write save" sounds
like a typo without context, and lack of a colon made the second message
difficult to parse.

Signed-off-by: Cole Robinson <crobinso@xxxxxxxxxx>
---
 src/qemu/qemu_driver.c |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 582fdee..9ae8307 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -4805,7 +4805,8 @@ static int qemudDomainSaveFileOpHook(int fd, void *data) {
     if (safewrite(fd, hdata->header, sizeof(*hdata->header)) != sizeof(*hdata->header)) {
         ret = errno;
         qemuReportError(VIR_ERR_OPERATION_FAILED,
-                         _("failed to write save header to '%s'"), hdata->path);
+                        _("failed to write domain save file header to '%s'"),
+                        hdata->path);
         goto endjob;
     }
 
@@ -5005,8 +5006,9 @@ static int qemudDomainSaveFlag(virDomainPtr dom, const char *path,
 
             if (statfs_ret == -1) {
                 virReportSystemError(errno,
-                                     _("Failed to create domain save file '%s'"
-                                       " statfs of all elements of path failed."),
+                                     _("Failed to create domain save file "
+                                       "'%s': statfs of all elements of path "
+                                       "failed"),
                                      path);
                 VIR_FREE(dirpath);
                 goto endjob;
-- 
1.6.6.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]