diff options
Diffstat (limited to 'src/arena.c')
-rw-r--r-- | src/arena.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arena.c b/src/arena.c index e7091fb..880befd 100644 --- a/src/arena.c +++ b/src/arena.c @@ -137,7 +137,8 @@ mkblk(size_t cap) if (a == NULL) err("malloc:"); a->cap = cap; - a->data = mmap(NULL, cap, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); + a->data = mmap(NULL, cap, PROT_READ | PROT_WRITE, + MAP_PRIVATE | MAP_ANON, -1, 0); if (a->data == MAP_FAILED) err("mmap:"); a->free = a->data; |