diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2012-04-18 01:39:20 +0200 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2012-04-20 17:12:27 +0200 |
commit | 668ad332a404736474749cbcc8404af3e4447170 (patch) | |
tree | a92eca0b9a7a099637ba093668c13579cb22f5b1 /src/core/transaction.c | |
parent | 75778e21dfeee51036d24501e39ea7398fabe502 (diff) |
job: job_new() can find the manager from the unit
Diffstat (limited to 'src/core/transaction.c')
-rw-r--r-- | src/core/transaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/transaction.c b/src/core/transaction.c index 8fa89a7be3..1344e2fb96 100644 --- 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; } |