]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add missing brace in comparison.
authorUlrich Drepper <drepper@redhat.com>
Tue, 23 Nov 1999 02:24:56 +0000 (02:24 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 23 Nov 1999 02:24:56 +0000 (02:24 +0000)
linuxthreads_db/td_ta_map_lwp2thr.c

index 0558f633f07189a862b67eb0860c6d88e246f0ad..8c934294bc86a9cdb12898e23e4837ad635b4c36 100644 (file)
@@ -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;