summaryrefslogtreecommitdiff
path: root/src/__readonly.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/__readonly.c')
-rw-r--r--src/__readonly.c2
1 files changed, 1 insertions, 1 deletions
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: