diff options
Diffstat (limited to 'elf/dl-open.c')
-rw-r--r-- | elf/dl-open.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/elf/dl-open.c b/elf/dl-open.c index 201d95d1be..92fae7f59b 100644 --- a/elf/dl-open.c +++ b/elf/dl-open.c @@ -37,13 +37,6 @@ #include <dl-dst.h> -extern ElfW(Addr) _dl_sysdep_start (void **start_argptr, - void (*dl_main) (const ElfW(Phdr) *phdr, - ElfW(Word) phnum, - ElfW(Addr) *user_entry, - ElfW(auxv_t) *auxv)); -weak_extern (_dl_sysdep_start) - extern int __libc_multiple_libcs; /* Defined in init-first.c. */ /* We must be careful not to leave us in an inconsistent state. Thus we @@ -344,7 +337,7 @@ dl_open_worker (void *a) if (nmaps > 1) { uint16_t seen[nmaps]; - memset (seen, '\0', nmaps); + memset (seen, '\0', sizeof (seen)); size_t i = 0; while (1) { |