about summary refs log tree commit diff
path: root/elf/dl-load.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-load.c')
-rw-r--r--elf/dl-load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c
index de940b2122..edaa2cc8c5 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -280,7 +280,7 @@ decompose_rpath (const char *rpath, size_t additional_room,
 		 const char *what, const char *where)
 {
   /* Make a copy we can work with.  */
-  char *copy = strdupa (rpath);
+  char *copy = local_strdup (rpath);
   char *cp;
   struct r_search_path_elem **result;
   /* First count the number of necessary elements in the result array.  */