hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 37594c3b9181878da275144322ddd5d98c57fceb
parent caca921dd4b481a3bdc0a1b20ece8579ddc68e72
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sat, 10 Apr 2021 13:25:40 -0400

rt::segmalloc: minor style nit

Diffstat:
Mrt/+linux/segmalloc.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rt/+linux/segmalloc.ha b/rt/+linux/segmalloc.ha @@ -1,6 +1,6 @@ // Allocates a segment. fn segmalloc(n: size) nullable *void = { - return match(mmap(null, n, + return match (mmap(null, n, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0)) { err: errno => {