mirror of
https://github.com/systemd/systemd.git
synced 2025-03-26 22:50:16 +03:00
udev: fix error message
This commit is contained in:
parent
3f8841f286
commit
3fb1069019
@ -98,7 +98,7 @@ static int node_symlink(sd_device *dev, const char *node, const char *slink) {
|
||||
return log_device_error_errno(dev, r, "Failed to create symlink '%s' to '%s': %m", slink_tmp, target);
|
||||
|
||||
if (rename(slink_tmp, slink) < 0) {
|
||||
r = log_device_error_errno(dev, errno, "Failed to rename '%s' to '%s' failed: %m", slink_tmp, slink);
|
||||
r = log_device_error_errno(dev, errno, "Failed to rename '%s' to '%s': %m", slink_tmp, slink);
|
||||
(void) unlink(slink_tmp);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user