summaryrefslogtreecommitdiff
path: root/src/rc-local-generator
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-04-22 20:51:29 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-04-24 00:25:04 -0400
commitc79bb9e4e2e5b96b2ae2c432bf8b0ff9674fce60 (patch)
treef33c7648a76b5c19bbae7b08fe567c0cefa0d265 /src/rc-local-generator
parentfff87a35d9e26c0d4ea41273a963c0eb20e18da4 (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.
Diffstat (limited to 'src/rc-local-generator')
-rw-r--r--src/rc-local-generator/rc-local-generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc-local-generator/rc-local-generator.c b/src/rc-local-generator/rc-local-generator.c
index 448980ba2d..9265501250 100644
--- a/src/rc-local-generator/rc-local-generator.c
+++ b/src/rc-local-generator/rc-local-generator.c
@@ -59,7 +59,7 @@ static int add_symlink(const char *service, const char *where) {
if (errno == EEXIST)
r = 0;
else {
- log_error("Failed to create symlink from %s to %s: %m", from, to);
+ log_error("Failed to create symlink %s: %m", to);
r = -errno;
}
}