summaryrefslogtreecommitdiff
path: root/src/init.c
diff options
context:
space:
mode:
authordaan <daanl@outlook.com>2019-06-23 21:37:43 -0700
committerdaan <daanl@outlook.com>2019-06-23 21:37:43 -0700
commit43568fa422cb07ab69c7a58fbd7b51d35e76987e (patch)
tree278493f53cbdbf0fd32cfea3949db02e4b94c1b3 /src/init.c
parente5e2b789ba3d34b22437a70dffe2cadc0cbc4f74 (diff)
ensure huge pages are part of the segment cache to avoid mmap calls
Diffstat (limited to 'src/init.c')
-rw-r--r--src/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.c b/src/init.c
index 3d61a89..2fe449f 100644
--- a/src/init.c
+++ b/src/init.c
@@ -90,7 +90,7 @@ mi_decl_thread mi_heap_t* _mi_heap_default = (mi_heap_t*)&_mi_heap_empty;
static mi_tld_t tld_main = {
0,
&_mi_heap_main,
- { { NULL, NULL }, 0, 0, 0, NULL, tld_main_stats }, // segments
+ { { NULL, NULL }, 0, 0, 0, {NULL,NULL}, tld_main_stats }, // segments
{ 0, NULL, NULL, 0, tld_main_stats }, // os
{ MI_STATS_NULL } // stats
};