]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: Clarify a couple error messages
authorCole Robinson <crobinso@redhat.com>
Mon, 17 May 2010 19:19:27 +0000 (15:19 -0400)
committerCole Robinson <crobinso@redhat.com>
Mon, 17 May 2010 21:22:08 +0000 (17:22 -0400)
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.

src/qemu/qemu_driver.c

index 582fdee3e039a9cab0a10512d7c73b2ec6e99517..3eb942c6ac643a10c65bb7de3b20d76357e2157c 100644 (file)
@@ -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 header to domain save file '%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;