about summary refs log tree commit diff
path: root/elf/tst-glibc-hwcaps-2-cache.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-05-06 13:18:47 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-05-07 12:16:36 -0300
commit1e1ad714ee9a663eda0e2bffad1d9f258b00a4e9 (patch)
tree112d80611fd100e39ef5c19722def14bc5e0c1f7 /elf/tst-glibc-hwcaps-2-cache.c
parentc8a0e21da63b6e5c7f558cdd31a5d208c1677df3 (diff)
downloadglibc-1e1ad714ee9a663eda0e2bffad1d9f258b00a4e9.tar.gz
glibc-1e1ad714ee9a663eda0e2bffad1d9f258b00a4e9.tar.xz
glibc-1e1ad714ee9a663eda0e2bffad1d9f258b00a4e9.zip
support: Add envp argument to support_capture_subprogram
So tests can specify a list of environment variables.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'elf/tst-glibc-hwcaps-2-cache.c')
-rw-r--r--elf/tst-glibc-hwcaps-2-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/tst-glibc-hwcaps-2-cache.c b/elf/tst-glibc-hwcaps-2-cache.c
index 81ab44ff78..af91476cca 100644
--- a/elf/tst-glibc-hwcaps-2-cache.c
+++ b/elf/tst-glibc-hwcaps-2-cache.c
@@ -32,7 +32,7 @@ main (int argc, char **argv)
   /* Run ldconfig to populate the cache.  */
   char *command = xasprintf ("%s/ldconfig", support_install_rootsbindir);
   struct support_capture_subprocess result =
-    support_capture_subprogram (command,  &((char *) { NULL }));
+    support_capture_subprogram (command,  &((char *) { NULL }), NULL);
   support_capture_subprocess_check (&result, "ldconfig", 0, sc_allow_none);
   free (command);