aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-06 21:15:46 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-06 21:15:46 +0000
commita4548cea4aac71acf6c9914058587ff42a06f22d (patch)
tree2d8ad97fcf170c78fe157e8b82fcfb555cbaecbc /nptl
parentd3c9f895257e50335e874ca08ad6efcc0abea6d7 (diff)
downloadglibc-a4548cea4aac71acf6c9914058587ff42a06f22d.tar
glibc-a4548cea4aac71acf6c9914058587ff42a06f22d.tar.gz
glibc-a4548cea4aac71acf6c9914058587ff42a06f22d.tar.bz2
glibc-a4548cea4aac71acf6c9914058587ff42a06f22d.zip
Update.
* init.c (__pthread_initialize_minimal): Correct INIT_LIST_HEAD use.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog2
-rw-r--r--nptl/init.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index b8a193ea09..2f29a88309 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,5 +1,7 @@
2002-12-06 Ulrich Drepper <drepper@redhat.com>
+ * init.c (__pthread_initialize_minimal): Correct INIT_LIST_HEAD use.
+
* Makefile (tests): Comment out tst-locale2 for now.
(CFLAGS-flockfile.c, CFLAGS-funlockfile.c): Define to -D_IO_MTSAFE_IO.
diff --git a/nptl/init.c b/nptl/init.c
index d9c315c1da..de34e217f9 100644
--- a/nptl/init.c
+++ b/nptl/init.c
@@ -124,7 +124,7 @@ __pthread_initialize_minimal (void)
#endif
/* Initialize the list of all running threads with the main thread. */
- INIT_LIST_HEAD (__stack_user);
+ INIT_LIST_HEAD (&__stack_user);
list_add (&pd->header.data.list, &__stack_user);