aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/user/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/user/process.c')
-rw-r--r--src/kernel/user/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/user/process.c b/src/kernel/user/process.c
index 4d79327..85530ca 100644
--- a/src/kernel/user/process.c
+++ b/src/kernel/user/process.c
@@ -500,7 +500,7 @@ bool mmap(process_t *proc, void* addr, size_t size, int mode) {
r->size = size;
r->own_pager = true;
- r->pager = new_swap_pager(size);
+ r->pager = new_swap_pager(size, false);
if (r->pager == 0) goto error;
r->offset = 0;