summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2010-09-11 02:00:27 +0200
committerLennart Poettering <lennart@poettering.net>2010-09-11 02:00:27 +0200
commit54ec68b6f64499cb0e57a3981d56c8e9718bca80 (patch)
tree54117e76ffc8ef06febe6fa4edaa6c6573419e82
parentee0dd8021b3d6203235c8b0cd014431c8fb38d8f (diff)
manager: report correctly which job was deleted when breaking cycle
-rw-r--r--src/manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manager.c b/src/manager.c
index e2f13b20ec..3a0ba487cf 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -982,7 +982,7 @@ static int transaction_verify_order_one(Manager *m, Job *j, Job *from, unsigned
if (delete) {
- log_warning("Breaking ordering cycle by deleting job %s/%s", k->unit->meta.id, job_type_to_string(k->type));
+ log_warning("Breaking ordering cycle by deleting job %s/%s", delete->unit->meta.id, job_type_to_string(delete->type));
transaction_delete_unit(m, delete->unit);
return -EAGAIN;
}