about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-03-20 18:38:24 +0000
committerUlrich Drepper <drepper@redhat.com>2005-03-20 18:38:24 +0000
commit8622e9505d8a49b4a9180838c439a19ff427e965 (patch)
tree3ac9197c014860882a22997dcc8f69faf41ed08e
parent56137dbc2df4527d78e096999f08e10be9577ea3 (diff)
downloadglibc-8622e9505d8a49b4a9180838c439a19ff427e965.tar.gz
glibc-8622e9505d8a49b4a9180838c439a19ff427e965.tar.xz
glibc-8622e9505d8a49b4a9180838c439a19ff427e965.zip
* elf/dl-open.c (dl_open_worker): Fix typo.
-rw-r--r--ChangeLog4
-rw-r--r--elf/dl-open.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 492e1479f5..e294936da3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-03-20  Alfred M. Szmidt  <ams@gnu.org>
+
+	* elf/dl-open.c (dl_open_worker): Fix typo.
+
 2005-03-20  Ulrich Drepper  <drepper@redhat.com>
 
 	* malloc/malloc.c (public_cALLOc): We cannot skip the memory
diff --git a/elf/dl-open.c b/elf/dl-open.c
index 7433d99ff9..a65690e5a3 100644
--- a/elf/dl-open.c
+++ b/elf/dl-open.c
@@ -462,8 +462,10 @@ dl_open_worker (void *a)
 	  /* We have to bump the generation counter.  */
 	  any_tls = true;
 	}
+#endif
     }
 
+#if USE_TLS
   /* Bump the generation number if necessary.  */
   if (any_tls && __builtin_expect (++GL(dl_tls_generation) == 0, 0))
     _dl_fatal_printf (N_("\