diff options
Diffstat (limited to 'nest/locks.c')
-rw-r--r-- | nest/locks.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nest/locks.c b/nest/locks.c index 86c9ff14..812a6534 100644 --- a/nest/locks.c +++ b/nest/locks.c @@ -191,6 +191,5 @@ olock_init(void) { DBG("olock: init\n"); init_list(&olock_list); - olock_event = ev_new(&root_pool); - olock_event->hook = olock_run_event; + olock_event = ev_new_init(&root_pool, olock_run_event, NULL); } |