aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads_db/td_ta_map_lwp2thr.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-11-23 04:15:27 +0000
committerUlrich Drepper <drepper@redhat.com>1999-11-23 04:15:27 +0000
commit62818cfd92d7b749399a48bdcaea7569f32efa62 (patch)
tree8773314808bb89570f12402fbd310a897a9e2519 /linuxthreads_db/td_ta_map_lwp2thr.c
parent1da2d51aebf6dc722aaf1793d8608b028eec12ed (diff)
downloadglibc-62818cfd92d7b749399a48bdcaea7569f32efa62.tar
glibc-62818cfd92d7b749399a48bdcaea7569f32efa62.tar.gz
glibc-62818cfd92d7b749399a48bdcaea7569f32efa62.tar.bz2
glibc-62818cfd92d7b749399a48bdcaea7569f32efa62.zip
Update.
* stdlib/longlong.h: Add count_trailing_zeros back.
Diffstat (limited to 'linuxthreads_db/td_ta_map_lwp2thr.c')
-rw-r--r--linuxthreads_db/td_ta_map_lwp2thr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads_db/td_ta_map_lwp2thr.c b/linuxthreads_db/td_ta_map_lwp2thr.c
index 0558f633f0..8c934294bc 100644
--- a/linuxthreads_db/td_ta_map_lwp2thr.c
+++ b/linuxthreads_db/td_ta_map_lwp2thr.c
@@ -67,7 +67,7 @@ td_ta_map_lwp2thr (const td_thragent_t *ta, lwpid_t lwpid, td_thrhandle_t *th)
if (ps_pdread (ta->ph, phc[cnt].h_descr, &pds, sizeof_descr) != PS_OK)
return TD_ERR; /* XXX Other error value? */
- if (pds.p_pid ?: ps_getpid (ta->ph) == lwpid)
+ if ((pds.p_pid ?: ps_getpid (ta->ph)) == lwpid)
{
/* Found it. Now fill in the `td_thrhandle_t' object. */
th->th_ta_p = (td_thragent_t *) ta;