diff options
Diffstat (limited to 'elf')
-rw-r--r-- | elf/dl-init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-init.c b/elf/dl-init.c index dfef83dd6f..683b94b9c7 100644 --- a/elf/dl-init.c +++ b/elf/dl-init.c @@ -32,7 +32,7 @@ void internal_function _dl_init (struct link_map *main_map, int argc, char **argv, char **env) { - ElfW(Dyn) *preinit_array = main_map->l_info[DT_PREINIT_ARRAYSZ]; + ElfW(Dyn) *preinit_array = main_map->l_info[DT_PREINIT_ARRAY]; struct r_debug *r; unsigned int i; |