diff options
author | Eric Andersen <andersen@codepoet.org> | 2006-04-12 22:48:24 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2006-04-12 22:48:24 +0000 |
commit | 40525510c2b995091498b61404474a6e74eb7cac (patch) | |
tree | 2384acb00dff4bac7b39f9037a6b31c6f71aa94b /ldso | |
parent | f8bcc098fec6d5dc417f1a119f4c200828a50d93 (diff) |
micro-optimization -- we already know how long the source is
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/ldso/dl-elf.c | 2 |
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 */ |