X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Ftransaction.c;h=4a8d90e6e569692c14f5890eae89ad69033a0cc3;hb=82910f1358c1d15f4e432e6d1f42efdeaf1eddb1;hp=03293663501fe14a27e6d831853d86479e782eb1;hpb=23ade460e5a118daa575a961b405d089f95e0617;p=elogind.git diff --git a/src/core/transaction.c b/src/core/transaction.c index 032936635..4a8d90e6e 100644 --- a/src/core/transaction.c +++ b/src/core/transaction.c @@ -396,8 +396,8 @@ static int transaction_verify_order_one(Transaction *tr, Job *j, Job *from, unsi "Job %s/%s deleted to break ordering cycle starting with %s/%s", delete->unit->id, job_type_to_string(delete->type), j->unit->id, job_type_to_string(j->type)); - status_printf(ANSI_HIGHLIGHT_RED_ON " SKIP " ANSI_HIGHLIGHT_OFF, true, - "Ordering cycle found, skipping %s", unit_description(delete->unit)); + unit_status_printf(delete->unit, ANSI_HIGHLIGHT_RED_ON " SKIP " ANSI_HIGHLIGHT_OFF, + "Ordering cycle found, skipping %s"); transaction_delete_unit(tr, delete->unit); return -EAGAIN; }