From a7f91846e95ea8ae3d8298063a4cf2972b5f98b2 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 28 Apr 2000 06:14:43 +0000 Subject: Update. * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s == NULL. Little optimization. * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not DT_PREINIT_ARRAYSZ). Reported by Jes Sorensen . --- elf/dl-init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elf/dl-init.c') 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; -- cgit v1.2.3