This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

A patch for typo


Here is a patch for typo.

-- 
H.J. Lu (hjl@valinux.com)
---
2000-12-31  H.J. Lu  <hjl@gnu.org>

	* manager.c (pthread_allocate_stack): Fix a typo.

Index: linuxthreads/manager.c
===================================================================
RCS file: /work/cvs/gnu/glibc/linuxthreads/manager.c,v
retrieving revision 1.1.1.9
diff -u -p -r1.1.1.9 manager.c
--- linuxthreads/manager.c	2000/12/31 19:34:32	1.1.1.9
+++ linuxthreads/manager.c	2001/01/01 01:42:54
@@ -388,7 +388,7 @@ static int pthread_allocate_stack(const 
       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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]