summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-close.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-close.c b/elf/dl-close.c
index 566e345165..337a4e66ad 100644
--- a/elf/dl-close.c
+++ b/elf/dl-close.c
@@ -95,7 +95,7 @@ _dl_close (struct link_map *map)
 	      do
 		--tail;
 	      while (*tail != imap);
-	      while (tail <= _dl_global_scope_end)
+	      while (tail < _dl_global_scope_end)
 		{
 		  tail[0] = tail[1];
 		  ++tail;