summaryrefslogtreecommitdiffstats
path: root/src/tsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tsd.c')
-rw-r--r--src/tsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tsd.c b/src/tsd.c
index 6b68c00..8650211 100644
--- a/src/tsd.c
+++ b/src/tsd.c
@@ -64,7 +64,7 @@ bool
tsd_data_init(void *arg) {
tsd_t *tsd = (tsd_t *)arg;
#define MALLOC_TSD_init_yes(n, t) \
- if (n##_data_init(&tsd->n)) { \
+ if (tsd_##n##_data_init(tsd)) { \
return true; \
}
#define MALLOC_TSD_init_no(n, t)