aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 b8a193e..2f29a88 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 d9c315c..de34e21 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);