]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
src: unify symlink creation error message
authorJán Tomko <jtomko@redhat.com>
Fri, 17 Mar 2023 21:56:19 +0000 (22:56 +0100)
committerJán Tomko <jtomko@redhat.com>
Mon, 20 Mar 2023 13:32:40 +0000 (14:32 +0100)
In some places, one quote got dropped by accident.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
src/libxl/libxl_driver.c
src/lxc/lxc_driver.c
src/qemu/qemu_driver.c

index 04e74086e6c8bf9cbbde683a4e07827cdd0d2908..07dcfcdc05487dff93c2059adce3b74191369047 100644 (file)
@@ -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;
             }
index b1d53659d71f7ae0bd11c1c1f486ca3bcdf0dfcd..d581372b00e901ecb54b2f7ce18178e5bfc55add 100644 (file)
@@ -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;
         }
index 891f630e27ab57c92eacec820533078eb3fde770..09ae893dafd161dc4618e183337207a8289a0eb2 100644 (file)
@@ -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;
         }