chiark / gitweb /
manager: report correctly which job was deleted when breaking cycle
authorMichal Schmidt <mschmidt@redhat.com>
Sat, 11 Sep 2010 00:00:27 +0000 (02:00 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 11 Sep 2010 00:00:27 +0000 (02:00 +0200)
src/manager.c

index e2f13b2..3a0ba48 100644 (file)
@@ -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;
                 }