(_dl_close): Type typo, must be == not = in search for removed searchlist.
authordrepper <drepper>
Mon, 13 Jan 2003 02:06:25 +0000 (02:06 +0000)
committerdrepper <drepper>
Mon, 13 Jan 2003 02:06:25 +0000 (02:06 +0000)
elf/dl-close.c

index 0953fab..cdebc73 100644 (file)
@@ -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;