From 668ad332a404736474749cbcc8404af3e4447170 Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Wed, 18 Apr 2012 01:39:20 +0200 Subject: job: job_new() can find the manager from the unit --- src/core/transaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/transaction.c') 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; } -- cgit v1.2.3-54-g00ecf