about summary refs log tree commit diff
path: root/elf/dl-init.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-28 06:14:43 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-28 06:14:43 +0000
commita7f91846e95ea8ae3d8298063a4cf2972b5f98b2 (patch)
tree1fca02f50d006172c8249272649004361ba46a2d /elf/dl-init.c
parent8651d8a218babc9e9ccc865a68017f12c588ca23 (diff)
downloadglibc-a7f91846e95ea8ae3d8298063a4cf2972b5f98b2.tar.gz
glibc-a7f91846e95ea8ae3d8298063a4cf2972b5f98b2.tar.xz
glibc-a7f91846e95ea8ae3d8298063a4cf2972b5f98b2.zip
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 <Jes.Sorensen@cern.ch>.
Diffstat (limited to 'elf/dl-init.c')
-rw-r--r--elf/dl-init.c2
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;