]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2004-12-28 Ulrich Drepper <drepper@redhat.com>
authorRoland McGrath <roland@gnu.org>
Wed, 16 Feb 2005 09:23:24 +0000 (09:23 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 16 Feb 2005 09:23:24 +0000 (09:23 +0000)
[BZ #726]
* sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.

sysdeps/generic/dl-tls.c

index 3382e3493cf6eca6c75b0865a50daf0d5e3c0ebd..2282dda9cc35cc5477dc591f7995270c6fc061fa 100644 (file)
@@ -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;