summaryrefslogtreecommitdiffstats
path: root/test/src/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/test.c')
-rw-r--r--test/src/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/test.c b/test/src/test.c
index 17728ca..0f8bd49 100644
--- a/test/src/test.c
+++ b/test/src/test.c
@@ -73,7 +73,7 @@ p_test(test_t *t, ...)
* is a final safety that works even if jemalloc_constructor() doesn't
* run, as for MSVC builds.
*/
- if (mallctl("version", NULL, NULL, NULL, 0) != 0) {
+ if (nallocx(1, 0) == 0) {
malloc_printf("Initialization error");
return (test_status_fail);
}