projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f8841f
)
udev: fix error message
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Wed, 22 May 2019 16:30:02 +0000
(
01:30
+0900)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Tue, 28 May 2019 08:35:21 +0000
(10:35 +0200)
src/udev/udev-node.c
patch
|
blob
|
history
diff --git
a/src/udev/udev-node.c
b/src/udev/udev-node.c
index
cfbbd7b
..
9549a1b
100644
(file)
--- a/
src/udev/udev-node.c
+++ b/
src/udev/udev-node.c
@@
-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);
}