mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
elf tst-dl_find_object: Fix typo
mod1 was xdlclose()d a few lines above.
This commit is contained in:
parent
f01d482f03
commit
4974c7cd8f
@ -201,7 +201,7 @@ do_test (void)
|
|||||||
|
|
||||||
/* Now try a NODELETE load. */
|
/* Now try a NODELETE load. */
|
||||||
struct link_map *mod2 = xdlopen ("tst-dl_find_object-mod2.so", RTLD_NOW);
|
struct link_map *mod2 = xdlopen ("tst-dl_find_object-mod2.so", RTLD_NOW);
|
||||||
void *mod2_data = xdlsym (mod1, "mod2_data");
|
void *mod2_data = xdlsym (mod2, "mod2_data");
|
||||||
map_start = (void *) mod2->l_map_start;
|
map_start = (void *) mod2->l_map_start;
|
||||||
map_end = (void *) (mod2->l_map_end - 1);
|
map_end = (void *) (mod2->l_map_end - 1);
|
||||||
check_initial ();
|
check_initial ();
|
||||||
|
Loading…
Reference in New Issue
Block a user