summary refs log tree commit diff
path: root/elf/dl-close.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-close.c')
-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 0953fab210..cdebc739e8 100644
--- a/elf/dl-close.c
+++ b/elf/dl-close.c
@@ -303,7 +303,7 @@ _dl_close (void *_map)
 	  imap->l_searchlist.r_nlist = cnt;
 
 	  for (cnt = 0; imap->l_scope[cnt] != NULL; ++cnt)
-	    if (imap->l_scope[cnt] = &map->l_searchlist)
+	    if (imap->l_scope[cnt] == &map->l_searchlist)
 	      {
 		imap->l_scope[cnt] = &imap->l_searchlist;
 		break;