[systemd-devel] [PATCH 1/2] core: use correct argument of type JobResult

Michal Sekletar msekleta at redhat.com
Fri Jan 11 08:06:22 PST 2013


---
 src/core/job.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/job.c b/src/core/job.c
index 5ff95f5..31ab118 100644
--- a/src/core/job.c
+++ b/src/core/job.c
@@ -821,7 +821,7 @@ int job_finish_and_invalidate(Job *j, JobResult result, bool recursive) {
                 log_struct(LOG_NOTICE,
                            "UNIT=%s", u->id,
                            "JOB_TYPE=%s", job_type_to_string(t),
-                           "JOB_RESULT=%s", job_result_to_string(t),
+                           "JOB_RESULT=%s", job_result_to_string(result),
                            "Job %s/%s failed with result '%s'.",
                            u->id,
                            job_type_to_string(t),
-- 
1.7.11.7



More information about the systemd-devel mailing list