projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66539a7
)
(pthread_allocate_stack): Fix a typo.
author
Ulrich Drepper
<drepper@redhat.com>
Mon, 1 Jan 2001 04:35:39 +0000
(
04:35
+0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Mon, 1 Jan 2001 04:35:39 +0000
(
04:35
+0000)
linuxthreads/manager.c
patch
|
blob
|
history
diff --git
a/linuxthreads/manager.c
b/linuxthreads/manager.c
index
c48ce76
..
1746bc5
100644
(file)
--- a/
linuxthreads/manager.c
+++ b/
linuxthreads/manager.c
@@
-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_FIXE
S
, -1, 0);
+ MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXE
D
, -1, 0);
if (res_addr != map_addr)
{
if (res_addr != MAP_FAILED)