aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-12-28 10:09:27 +0000
committerUlrich Drepper <drepper@redhat.com>2004-12-28 10:09:27 +0000
commitab4bc7134909bbb3a91c4b53caa30b8ecbda1611 (patch)
treed63d1f939a45deb7af9a98765aa3921073ee01da /sysdeps/generic
parenta71c152cfce9040addc1474936c2b96382ab9169 (diff)
downloadglibc-ab4bc7134909bbb3a91c4b53caa30b8ecbda1611.tar
glibc-ab4bc7134909bbb3a91c4b53caa30b8ecbda1611.tar.gz
glibc-ab4bc7134909bbb3a91c4b53caa30b8ecbda1611.tar.bz2
glibc-ab4bc7134909bbb3a91c4b53caa30b8ecbda1611.zip
Update.
2004-12-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
Diffstat (limited to 'sysdeps/generic')
-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;