chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: use correct argument of type JobResult
[elogind.git]
/
src
/
core
/
job.c
diff --git
a/src/core/job.c
b/src/core/job.c
index 5ff95f5c908fa713400fe6a613903d0cc8a0d570..31ab11880ef0fa1a52b4d4c6a9c628c6d8a56928 100644
(file)
--- 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),
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(
resul
t),
"Job %s/%s failed with result '%s'.",
u->id,
job_type_to_string(t),
"Job %s/%s failed with result '%s'.",
u->id,
job_type_to_string(t),