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:
parent
a83e96cc1c
commit
c0a9d0c7c1
1 changed files with 1 additions and 1 deletions
|
@ -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, \
|
||||
|
|
Loading…
Reference in a new issue