summaryrefslogtreecommitdiff
path: root/src/core/path.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/path.c')
-rw-r--r--src/core/path.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/path.c b/src/core/path.c
index d65339771e..767620ba75 100644
--- a/src/core/path.c
+++ b/src/core/path.c
@@ -307,7 +307,8 @@ static int path_verify(Path *p) {
return 0;
if (!p->specs) {
- log_error("%s lacks path setting. Refusing.", UNIT(p)->id);
+ log_error_unit(UNIT(p)->id,
+ "%s lacks path setting. Refusing.", UNIT(p)->id);
return -EINVAL;
}