This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
A patch for typo
- To: GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- Subject: A patch for typo
- From: "H . J . Lu" <hjl at valinux dot com>
- Date: Sun, 31 Dec 2000 18:33:38 -0800
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)