mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-05 21:00:05 +00:00
(pthread_allocate_stack): Fix a typo.
This commit is contained in:
parent
66539a737d
commit
62298f9d22
@ -388,7 +388,7 @@ static int pthread_allocate_stack(const pthread_attr_t *attr,
|
||||
map_addr = (caddr_t)new_thread_bottom;
|
||||
res_addr = mmap(map_addr, stacksize/2,
|
||||
PROT_READ | PROT_WRITE | PROT_EXEC,
|
||||
MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXES, -1, 0);
|
||||
MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, -1, 0);
|
||||
if (res_addr != map_addr)
|
||||
{
|
||||
if (res_addr != MAP_FAILED)
|
||||
|
Loading…
Reference in New Issue
Block a user