about summary refs log tree commit diff
path: root/linuxthreads_db/td_ta_new.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-10-15 00:40:18 +0000
committerUlrich Drepper <drepper@redhat.com>1999-10-15 00:40:18 +0000
commit4a3792163e0cbc2a04d0e8b81544976975d76439 (patch)
tree674617cff63aaed35958e2b7f5cb7e07e89def9d /linuxthreads_db/td_ta_new.c
parentf6367df2fd032db89e68e28333d995fb18ffa653 (diff)
downloadglibc-4a3792163e0cbc2a04d0e8b81544976975d76439.tar.gz
glibc-4a3792163e0cbc2a04d0e8b81544976975d76439.tar.xz
glibc-4a3792163e0cbc2a04d0e8b81544976975d76439.zip
Update.
	* pthread.c (__pthread_initial_thread): Pass argument to
	PTHREAD_START_ARGS_INITIALIZER.
	(__pthread_manager_thread): Likewise.

	* internals.h (PTHREAD_START_ARGS_INITIALIZER): Add parameter to
	initialize function.
Diffstat (limited to 'linuxthreads_db/td_ta_new.c')
-rw-r--r--linuxthreads_db/td_ta_new.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads_db/td_ta_new.c b/linuxthreads_db/td_ta_new.c
index 15f445a877..37d6bb1d30 100644
--- a/linuxthreads_db/td_ta_new.c
+++ b/linuxthreads_db/td_ta_new.c
@@ -94,7 +94,7 @@ td_ta_new (struct ps_prochandle *ps, td_thragent_t **ta)
   if (ps_pglobal_lookup (ps, LIBPTHREAD_SO,
 			 "__linuxthreads_pthread_sizeof_descr", &addr)
       != PS_OK)
-    (*ta)->sizeof_descr = offsetof (struct _pthread_descr_struct, p_startfct);
+    (*ta)->sizeof_descr = sizeof (struct _pthread_descr_struct);
   else
     {
       if (ps_pdread (ps, addr, &(*ta)->sizeof_descr, sizeof (int)) != PS_OK)