diff options
Diffstat (limited to 'src/core/path.c')
-rw-r--r-- | src/core/path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/path.c b/src/core/path.c index 258e3a00cb..a134fc288c 100644 --- a/src/core/path.c +++ b/src/core/path.c @@ -450,7 +450,7 @@ static void path_enter_dead(Path *p, PathResult f) { p->result = f; if (p->result != PATH_SUCCESS) - log_unit_warning(UNIT(p), "Failed with result '%s'.", path_result_to_string(p->result)); + unit_log_failure(UNIT(p), path_result_to_string(p->result)); path_set_state(p, p->result != PATH_SUCCESS ? PATH_FAILED : PATH_DEAD); } |