]> err.no Git - systemd/commitdiff
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 e2f13b20ec52d2913fceac70e5f10f00b99dc237..3a0ba487cf18b0ceebc876d464d1ae45c0d556fd 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;
                 }