From: Ulrich Drepper Date: Tue, 23 Nov 1999 02:24:56 +0000 (+0000) Subject: Add missing brace in comparison. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50b0a9bf4951f926c0d7138ce2fba5ac0ce40521;p=thirdparty%2Fglibc.git Add missing brace in comparison. --- diff --git a/linuxthreads_db/td_ta_map_lwp2thr.c b/linuxthreads_db/td_ta_map_lwp2thr.c index 0558f633f07..8c934294bc8 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;