summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-06-03 09:01:02 -0400
committerAnthony G. Basile <blueness@gentoo.org>2013-06-03 09:01:02 -0400
commit7772dedbcf3bc6e5085f9351f44fe63f729109d0 (patch)
tree9fc01a1e279c0ad18a259f4fecd4db4e5aea0302
parent09376a932b2af4c66dbf3230a8e5d604701d781b (diff)
Standarize on one spelling of symlink error message
It's polite to print the name of the link that wasn't created, and it makes little sense to print the target. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r--src/udev/udev-watch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-watch.c b/src/udev/udev-watch.c
index 311f5bdf23..9b694c6666 100644
--- a/src/udev/udev-watch.c
+++ b/src/udev/udev-watch.c
@@ -116,7 +116,7 @@ void udev_watch_begin(struct udev *udev, struct udev_device *dev)
unlink(filename);
r = symlink(udev_device_get_id_filename(dev), filename);
if (r < 0)
- log_error("Failed to create symlink: %m");
+ log_error("Failed to create symlink %s: %m", filename);
udev_device_set_watch_handle(dev, wd);
}