From 824f22a3684209b1e11c87f20e6ff17beb8e73a3 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 29 May 2024 16:07:14 -0400 Subject: finish integrating jkmalloc and read-only variable support --- src/__readonly.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/__readonly.c') diff --git a/src/__readonly.c b/src/__readonly.c index f2d33c38..9d0752d2 100644 --- a/src/__readonly.c +++ b/src/__readonly.c @@ -12,7 +12,7 @@ void* __readonly(ro_action_t action, void *ptr) { switch (action) { case RO_ALLOC: - return __jkmalloc(NULL, NULL, 0, NULL, 1, PAGESIZE, 0, ptr); + return __jkmalloc(NULL, 1, PAGESIZE, 0, ptr); case RO_FREE: -- cgit v1.2.1