X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Ftransaction.c;h=ba7d8d9828087b68b2e3ca06853c955ed180fb7f;hb=d8c9d3a468e61ee2a2b2c3454e662398b0885411;hp=203070fa2697f90f6e75989fbbff29b722d1b8db;hpb=1244d8d640a2644aa8dc8e588cd9c414b3d39163;p=elogind.git diff --git a/src/core/transaction.c b/src/core/transaction.c index 203070fa2..ba7d8d982 100644 --- a/src/core/transaction.c +++ b/src/core/transaction.c @@ -775,10 +775,10 @@ static Job* transaction_add_one_job(Transaction *tr, JobType type, Unit *unit, b j->override = override; j->irreversible = tr->irreversible; - LIST_PREPEND(Job, transaction, f, j); + LIST_PREPEND(transaction, f, j); if (hashmap_replace(tr->jobs, unit, f) < 0) { - LIST_REMOVE(Job, transaction, f, j); + LIST_REMOVE(transaction, f, j); job_free(j); return NULL; }