about summary refs log tree commit diff
path: root/elf/ldconfig.c
diff options
context:
space:
mode:
authorJavier Pello <devel@otheo.eu>2022-09-27 20:07:24 +0200
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-10-06 07:59:48 -0300
commit4a7094119ce05cadf927f52cc5d723e2195e65f9 (patch)
tree094c7cb5d2b821c1af51302218bb3fc44be2fb9f /elf/ldconfig.c
parentb78ff5a25dc8ba9d8c6df10bb0a533254bdd193f (diff)
downloadglibc-4a7094119ce05cadf927f52cc5d723e2195e65f9.tar.gz
glibc-4a7094119ce05cadf927f52cc5d723e2195e65f9.tar.xz
glibc-4a7094119ce05cadf927f52cc5d723e2195e65f9.zip
elf: Remove hwcap parameter from add_to_cache signature
Last commit made it so that the value passed for that parameter was
always 0 at its only call site.

Signed-off-by: Javier Pello <devel@otheo.eu>
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'elf/ldconfig.c')
-rw-r--r--elf/ldconfig.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/elf/ldconfig.c b/elf/ldconfig.c
index 0d19d84773..e6c24e71a4 100644
--- a/elf/ldconfig.c
+++ b/elf/ldconfig.c
@@ -980,8 +980,7 @@ search_dir (const struct dir_entry *entry)
 	}
       if (opt_build_cache)
 	add_to_cache (entry->path, filename, dlib_ptr->soname,
-		      dlib_ptr->flag, dlib_ptr->isa_level, 0,
-		      entry->hwcaps);
+		      dlib_ptr->flag, dlib_ptr->isa_level, entry->hwcaps);
     }
 
   /* Free all resources.  */