about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-01 04:35:39 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-01 04:35:39 +0000
commit62298f9d2282d5c053fea3f78f6ecbd8107b9164 (patch)
treed3c56186a09bdb03ecf954a1c5ad44b39b05b352
parent66539a737d6e1fe3aa6ce27f9a2548f9e7f47e3f (diff)
downloadglibc-62298f9d2282d5c053fea3f78f6ecbd8107b9164.tar.gz
glibc-62298f9d2282d5c053fea3f78f6ecbd8107b9164.tar.xz
glibc-62298f9d2282d5c053fea3f78f6ecbd8107b9164.zip
(pthread_allocate_stack): Fix a typo.
-rw-r--r--linuxthreads/manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/manager.c b/linuxthreads/manager.c
index c48ce76c55..1746bc5d53 100644
--- 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_FIXES, -1, 0);
+		      MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, -1, 0);
       if (res_addr != map_addr)
 	{
 	  if (res_addr != MAP_FAILED)