summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichal Sekletar <msekleta@redhat.com>2013-01-11 17:06:22 +0100
committerLennart Poettering <lennart@poettering.net>2013-01-15 20:50:33 +0100
commit38c888a4049438f2521edf38d55f937b53d17a9e (patch)
tree6551c36455fe5aea63acb1ddb2058e516b59d9aa /src
parent10ffbc99afed12bd59bcf91d8242ea65b04eec40 (diff)
core: use correct argument of type JobResult
Diffstat (limited to 'src')
-rw-r--r--src/core/job.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/job.c b/src/core/job.c
index 5ff95f5c90..31ab11880e 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),