summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/dl-elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/dl-elf.c b/ldso/ldso/dl-elf.c
index ee618b741..8e21a6549 100644
--- a/ldso/ldso/dl-elf.c
+++ b/ldso/ldso/dl-elf.c
@@ -162,7 +162,7 @@ search_for_named_library(const char *name, int secure, const char *path_list,
}
#endif
- _dl_strcpy(path, path_list);
+ _dl_memcpy(path, path_list, done);
/* Unlike ldd.c, don't bother to eliminate double //s */