public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] elf tst-dl_find_object: Fix typo
@ 2022-01-15 12:59 Samuel Thibault
0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2022-01-15 12:59 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4974c7cd8f5683d77e54cb04ab7b925224da702a
commit 4974c7cd8f5683d77e54cb04ab7b925224da702a
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sat Jan 15 13:58:56 2022 +0100
elf tst-dl_find_object: Fix typo
mod1 was xdlclose()d a few lines above.
Diff:
---
elf/tst-dl_find_object.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 ();
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-15 12:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-15 12:59 [glibc] elf tst-dl_find_object: Fix typo Samuel Thibault
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).