elf: Use errcode instead of (unset) errno in rtld_chain_load

This commit is contained in:
Florian Weimer 2021-12-10 21:34:30 +01:00
parent fc2334ab32
commit f1eeef945d

View File

@ -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