diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2013-02-05 19:11:36 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2013-02-05 19:23:37 +0100 |
commit | 868d059a1405f814048041a0329021122542520c (patch) | |
tree | a2eb6faf72bcd69f77c12ecf0f845bb900e1104b /libc/stdlib/malloc-standard/malloc.h | |
parent | 1b3025b7352f5e432ffa1c7adc57085ac9092b77 (diff) |
mman: rename MAP_UNINITIALIZE to MAP_UNINITIALIZED
The name was changed to include a trailing 'D' when it went into the
kernel.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/stdlib/malloc-standard/malloc.h')
-rw-r--r-- | libc/stdlib/malloc-standard/malloc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/stdlib/malloc-standard/malloc.h b/libc/stdlib/malloc-standard/malloc.h index 9b411bdb8..d945627c6 100644 --- a/libc/stdlib/malloc-standard/malloc.h +++ b/libc/stdlib/malloc-standard/malloc.h @@ -353,13 +353,13 @@ __UCLIBC_MUTEX_EXTERN(__malloc_lock) #endif #ifdef __ARCH_USE_MMU__ -# define _MAP_UNINITIALIZE 0 +# define _MAP_UNINITIALIZED 0 #else -# define _MAP_UNINITIALIZE MAP_UNINITIALIZE +# define _MAP_UNINITIALIZED MAP_UNINITIALIZED #endif #define MMAP(addr, size, prot) \ - (mmap((addr), (size), (prot), MAP_PRIVATE|MAP_ANONYMOUS|_MAP_UNINITIALIZE, 0, 0)) + (mmap((addr), (size), (prot), MAP_PRIVATE|MAP_ANONYMOUS|_MAP_UNINITIALIZED, 0, 0)) /* ----------------------- Chunk representations ----------------------- */ |