summaryrefslogtreecommitdiffstats
path: root/lib/libkse/thread/thr_rtld.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libkse/thread/thr_rtld.c')
-rw-r--r--lib/libkse/thread/thr_rtld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libkse/thread/thr_rtld.c b/lib/libkse/thread/thr_rtld.c
index e813073..acb92a3 100644
--- a/lib/libkse/thread/thr_rtld.c
+++ b/lib/libkse/thread/thr_rtld.c
@@ -162,7 +162,7 @@ _thr_rtld_lock_create(void)
if ((l = malloc(sizeof(struct rtld_kse_lock))) != NULL) {
_lock_init(&l->lck, LCK_ADAPTIVE, _kse_lock_wait,
- _kse_lock_wakeup);
+ _kse_lock_wakeup, calloc);
l->owner = NULL;
l->count = 0;
l->write = 0;
OpenPOWER on IntegriCloud