summaryrefslogtreecommitdiff
path: root/nest/locks.c
diff options
context:
space:
mode:
Diffstat (limited to 'nest/locks.c')
-rw-r--r--nest/locks.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/locks.c b/nest/locks.c
index 247d0c56..66409c6d 100644
--- a/nest/locks.c
+++ b/nest/locks.c
@@ -197,5 +197,6 @@ olock_init(void)
{
DBG("olock: init\n");
init_list(&olock_list);
- olock_domain = DOMAIN_NEW(attrs, "Object lock");
+ olock_domain = DOMAIN_NEW(attrs);
+ DOMAIN_SETUP(attrs, olock_domain, "Object lock", NULL);
}