]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core: use correct argument of type JobResult
authorMichal Sekletar <msekleta@redhat.com>
Fri, 11 Jan 2013 16:06:22 +0000 (17:06 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 15 Jan 2013 19:50:33 +0000 (20:50 +0100)
src/core/job.c

index 5ff95f5c908fa713400fe6a613903d0cc8a0d570..31ab11880ef0fa1a52b4d4c6a9c628c6d8a56928 100644 (file)
@@ -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),