aboutsummaryrefslogtreecommitdiffstats
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-02-16 09:23:24 +0000
committerRoland McGrath <roland@gnu.org>2005-02-16 09:23:24 +0000
commitf602ccdce436b0146ad7b041410258e92efcaec2 (patch)
tree66635923e5829cf97650217081a6120b1580e266 /sysdeps
parent. (diff)
downloadglibc-f602ccdce436b0146ad7b041410258e92efcaec2.tar.xz
glibc-f602ccdce436b0146ad7b041410258e92efcaec2.zip
2004-12-28 Ulrich Drepper <drepper@redhat.com>
[BZ #726] * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/dl-tls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-tls.c b/sysdeps/generic/dl-tls.c
index 3382e3493c..2282dda9cc 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;