diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-15 13:58:56 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-15 13:58:56 +0100 |
commit | 4974c7cd8f5683d77e54cb04ab7b925224da702a (patch) | |
tree | 035cd46c780111123cd0f0d907c4eea1e59cdf39 /elf | |
parent | f01d482f0355a7029d0715ace0ccf3323e7e94bc (diff) | |
download | glibc-4974c7cd8f5683d77e54cb04ab7b925224da702a.tar.gz glibc-4974c7cd8f5683d77e54cb04ab7b925224da702a.tar.xz glibc-4974c7cd8f5683d77e54cb04ab7b925224da702a.zip |
elf tst-dl_find_object: Fix typo
mod1 was xdlclose()d a few lines above.
Diffstat (limited to 'elf')
-rw-r--r-- | elf/tst-dl_find_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/tst-dl_find_object.c b/elf/tst-dl_find_object.c index 21cdc0f848..855d0fc735 100644 --- a/elf/tst-dl_find_object.c +++ b/elf/tst-dl_find_object.c @@ -201,7 +201,7 @@ do_test (void) /* Now try a NODELETE load. */ 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_end = (void *) (mod2->l_map_end - 1); check_initial (); |