summaryrefslogtreecommitdiff
path: root/src/rc-local-generator
diff options
context:
space:
mode:
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 01ff4702a7..d4e6ba4bf9 100644
--- a/src/rc-local-generator/rc-local-generator.c
+++ b/src/rc-local-generator/rc-local-generator.c
@@ -60,7 +60,7 @@ static int add_symlink(const char *service, const char *where) {
if (errno == EEXIST)
return 0;
- log_error("Failed to create symlink %s: %m", to);
+ log_error_errno(errno, "Failed to create symlink %s: %m", to);
return -errno;
}