* [PATCH COMMITTED] elf: Use errcode instead of (unset) errno in rtld_chain_load
@ 2021-12-10 21:28 Florian Weimer
0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2021-12-10 21:28 UTC (permalink / raw)
To: libc-alpha
---
elf/rtld.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/elf/rtld.c b/elf/rtld.c
index 6ce1e07dc0..4b09e84b0d 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -1143,7 +1143,7 @@ rtld_chain_load (struct link_map *main_map, char *argv0)
rtld_soname, pathname, errname);
else
_dl_fatal_printf("%s: cannot execute %s: %d\n",
- rtld_soname, pathname, errno);
+ rtld_soname, pathname, errcode);
}
static void
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-12-10 21:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-10 21:28 [PATCH COMMITTED] elf: Use errcode instead of (unset) errno in rtld_chain_load Florian Weimer
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).