scripts

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

commit 179ab953ad1d666b37f936e527f593139cfabadd
parent a110f24eb32272ea0ba0f02ee6fa2e3d36737a29
Author: sin <sin@2f30.org>
Date:   Fri,  2 Aug 2013 14:01:29 +0100

Add comment in mmap_aligned()

Diffstat:
Mrandom/rballoc.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/random/rballoc.c b/random/rballoc.c @@ -90,6 +90,7 @@ mmap_aligned(size_t align, size_t siz) { void *p; + /* align should be a power of two */ if ((align - 1) & align) return NULL; p = mmap(0, siz + align, PROT_READ | PROT_WRITE,