From: Roland McGrath Date: Wed, 16 Feb 2005 09:23:24 +0000 (+0000) Subject: 2004-12-28 Ulrich Drepper X-Git-Tag: cvs/fedora-glibc-2_3-20050216T1256~80 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f602ccdce436b0146ad7b041410258e92efcaec2;p=thirdparty%2Fglibc.git 2004-12-28 Ulrich Drepper [BZ #726] * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo. --- diff --git a/sysdeps/generic/dl-tls.c b/sysdeps/generic/dl-tls.c index 3382e3493cf..2282dda9cc3 100644 --- a/sysdeps/generic/dl-tls.c +++ b/sysdeps/generic/dl-tls.c @@ -577,7 +577,7 @@ __tls_get_addr (GET_ADDR_ARGS) { size_t cnt; - for (cnt = total = 0 ? 1 : 0; cnt < listp->len; ++cnt) + for (cnt = total == 0 ? 1 : 0; cnt < listp->len; ++cnt) { size_t gen = listp->slotinfo[cnt].gen; struct link_map *map;