[libvirt PATCH 2/8] src: unify symlink creation error message

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

 



In some places, one quote got dropped by accident.

Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
---
 src/libxl/libxl_driver.c | 2 +-
 src/lxc/lxc_driver.c     | 2 +-
 src/qemu/qemu_driver.c   | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/libxl/libxl_driver.c b/src/libxl/libxl_driver.c
index 04e74086e6..07dcfcdc05 100644
--- a/src/libxl/libxl_driver.c
+++ b/src/libxl/libxl_driver.c
@@ -4651,7 +4651,7 @@ libxlDomainSetAutostart(virDomainPtr dom, int autostart)
 
             if (symlink(configFile, autostartLink) < 0) {
                 virReportSystemError(errno,
-                                     _("Failed to create symlink '%s to '%s'"),
+                                     _("Failed to create symlink '%s' to '%s'"),
                                      autostartLink, configFile);
                 goto endjob;
             }
diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c
index b1d53659d7..d581372b00 100644
--- a/src/lxc/lxc_driver.c
+++ b/src/lxc/lxc_driver.c
@@ -2481,7 +2481,7 @@ static int lxcDomainSetAutostart(virDomainPtr dom,
 
         if (symlink(configFile, autostartLink) < 0) {
             virReportSystemError(errno,
-                                 _("Failed to create symlink '%s to '%s'"),
+                                 _("Failed to create symlink '%s' to '%s'"),
                                  autostartLink, configFile);
             goto endjob;
         }
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 891f630e27..09ae893daf 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -8232,7 +8232,7 @@ static int qemuDomainSetAutostart(virDomainPtr dom,
 
             if (symlink(configFile, autostartLink) < 0) {
                 virReportSystemError(errno,
-                                     _("Failed to create symlink '%s to '%s'"),
+                                     _("Failed to create symlink '%s' to '%s'"),
                                      autostartLink, configFile);
                 goto endjob;
             }
@@ -18964,7 +18964,7 @@ qemuDomainRenameCallback(virDomainObj *vm,
 
         if (symlink(new_dom_cfg_file, new_dom_autostart_link) < 0) {
             virReportSystemError(errno,
-                                 _("Failed to create symlink '%s to '%s'"),
+                                 _("Failed to create symlink '%s' to '%s'"),
                                  new_dom_autostart_link, new_dom_cfg_file);
             return -1;
         }
-- 
2.39.2




[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]

  Powered by Linux