mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
src: unify symlink creation error message
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>
This commit is contained in:
parent
9fc3c2524c
commit
6e23112304
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user