1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2025-02-02 04:52:53 +01:00

Fix the mismatch between the macro parameter and the name used in the body.

Thanks to David Lee <live4thee@gmail.com> for noticing.
This commit is contained in:
Arun Sharma 2011-01-23 18:06:51 -08:00
parent a83e96cc1c
commit c0a9d0c7c1

View file

@ -211,7 +211,7 @@ do { \
#ifndef MAP_ANONYMOUS
# define MAP_ANONYMOUS MAP_ANON
#endif
#define GET_MEMORY(mem, size_in_bytes) \
#define GET_MEMORY(mem, size) \
do { \
/* Hopefully, mmap() goes straight through to a system call stub... */ \
mem = mmap (0, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, \