chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
job: job_new() can find the manager from the unit
[elogind.git]
/
src
/
core
/
transaction.c
diff --git
a/src/core/transaction.c
b/src/core/transaction.c
index 8fa89a7be3981d7831ed638ec3647a5000a308eb..1344e2fb9627c66e24d8212d587952293b4d164c 100644
(file)
--- a/
src/core/transaction.c
+++ b/
src/core/transaction.c
@@
-763,7
+763,7
@@
static Job* transaction_add_one_job(Transaction *tr, JobType type, Unit *unit, b
if (unit->job && unit->job->type == type)
j = unit->job;
else {
- j = job_new(unit
->manager, type, unit
);
+ j = job_new(unit
, type
);
if (!j)
return NULL;
}