summary refs log tree commit diff
path: root/elf/dl-close.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-01-13 02:10:09 +0000
committerUlrich Drepper <drepper@redhat.com>2003-01-13 02:10:09 +0000
commit1376cd8c7ba7bd48a2b3c224b2c1c4e76db15d2d (patch)
tree09eff2772e123c9f541a58ccb9037d67521e9dfd /elf/dl-close.c
parent40212ce0c92b25d5b3470d09ad5cb3f625c6a4c2 (diff)
downloadglibc-1376cd8c7ba7bd48a2b3c224b2c1c4e76db15d2d.tar.gz
glibc-1376cd8c7ba7bd48a2b3c224b2c1c4e76db15d2d.tar.xz
glibc-1376cd8c7ba7bd48a2b3c224b2c1c4e76db15d2d.zip
Update.
	* elf/dl-close.c (_dl_close): Type typo, must be == not = in
	search for removed searchlist.  Reported by Roland McGrath.
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;