diff options
Diffstat (limited to 'nest')
-rw-r--r-- | nest/locks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/locks.c b/nest/locks.c index c74f2f45..ad2af493 100644 --- a/nest/locks.c +++ b/nest/locks.c @@ -70,7 +70,7 @@ olock_free(resource *r) DBG("olock: -> %p becomes locked\n", n); q = SKIP_BACK(struct object_lock, n, n); rem_node(n); - add_tail_list(&l->waiters, &q->waiters); + add_tail_list(&q->waiters, &l->waiters); q->state = OLOCK_STATE_EVENT; add_head(&olock_list, n); ev_schedule(olock_event); |