scripts

misc scripts and tools
git clone git://git.2f30.org/scripts.git
Log | Files | Refs

commit e4291ba53485c8ed5cce851d50061f538e3dfd9f
parent fcfc8d8e7ff205fa245e0f8c89bf6ce5cba597df
Author: sin <sin@2f30.org>
Date:   Tue, 30 Jul 2013 10:45:12 +0100

Wrap line

Diffstat:
alloc.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/alloc.c b/alloc.c @@ -33,7 +33,8 @@ mmap_page_aligned(size_t nbytes) nbytes = (nbytes + 0x1000) & ~(0x1000 - 1); addr = mmap(0, nbytes + 0x1000, - PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); + PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, + -1, 0); if (addr == MAP_FAILED) return NULL; /* Guard page at the end of the allocation */