systemd: use unit logging macros

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2013-01-06 13:52:48 -05:00
parent fdf9f9bbe4
commit 66870f90de
11 changed files with 665 additions and 335 deletions
+2 -1
View File
@@ -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;
}