summaryrefslogtreecommitdiff
path: root/src/core/path.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-01-05 12:00:35 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-01-06 13:52:48 -0500
commit66870f90dec9b5bf4ad76f9757fafce703560a67 (patch)
tree992e0c8e26c75b38e61dee54cca68df89ab5aba3 /src/core/path.c
parentfdf9f9bbe4dc3281bc8799e2a1f8709776c8cad8 (diff)
systemd: use unit logging macros
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 d65339771..767620ba7 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;
}