From 2b6e7dad58833b0e4bf3a05c8ae2de3542728c2e Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 2 Jun 2005 10:30:08 +0000 Subject: [PATCH] Elf32_auxv_t.a_un.a_ptr no longer exists in HEAD glibc CVS, use a_val. --- loader/preloader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loader/preloader.c b/loader/preloader.c index cb974ff375f..f2898b2df0c 100644 --- a/loader/preloader.c +++ b/loader/preloader.c @@ -860,8 +860,8 @@ static int is_in_preload_range( const ElfW(auxv_t) *av, int type ) { for (i = 0; preload_info[i].size; i++) { - if ((char *)av->a_un.a_ptr >= (char *)preload_info[i].addr && - (char *)av->a_un.a_ptr < (char *)preload_info[i].addr + preload_info[i].size) + if ((char *)av->a_un.a_val >= (char *)preload_info[i].addr && + (char *)av->a_un.a_val < (char *)preload_info[i].addr + preload_info[i].size) return 1; } }