From 178a145a90c1c03baaa634bdb69a73b2e6aa2c72 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 9 Nov 1999 01:18:02 +0000 Subject: Update. 1999-11-08 Ulrich Drepper * pthread.c (__pthread_initialize_manager): Initialize __pthread_manager_thread.p_tid. --- linuxthreads_db/td_thr_get_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linuxthreads_db/td_thr_get_info.c') diff --git a/linuxthreads_db/td_thr_get_info.c b/linuxthreads_db/td_thr_get_info.c index 21f9f68d07..25ad3408a9 100644 --- a/linuxthreads_db/td_thr_get_info.c +++ b/linuxthreads_db/td_thr_get_info.c @@ -64,7 +64,7 @@ td_thr_get_info (const td_thrhandle_t *th, td_thrinfo_t *infop) } /* Initialization which are the same in both cases. */ - infop->ti_lid = pds.p_pid; + infop->ti_lid = pds.p_pid ?: ps_getpid (th->th_ta_p->ph); infop->ti_ta_p = th->th_ta_p; infop->ti_startfunc = pds.p_start_args.start_routine; memcpy (&infop->ti_events, &pds.p_eventbuf.eventmask, -- cgit v1.2.3