summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2014-08-04 05:46:10 +0000
committerngie <ngie@FreeBSD.org>2014-08-04 05:46:10 +0000
commit5911324544c6456c7da9402d249d92132ff75c0f (patch)
treeae009334b449a933645b42d503e7b2d9a0a994be /libexec/rtld-elf
parentb396ce44d5091123e224bd3115db1efac3250414 (diff)
downloadFreeBSD-src-5911324544c6456c7da9402d249d92132ff75c0f.zip
FreeBSD-src-5911324544c6456c7da9402d249d92132ff75c0f.tar.gz
Fix a -Wsecurity warning with clang
Phabric: D525 (part of a larger patch) Reviewed by: jmmv Approved by: jmmv (co-mentor)
Diffstat (limited to 'libexec/rtld-elf')
-rw-r--r--libexec/rtld-elf/tests/ld_library_pathfds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rtld-elf/tests/ld_library_pathfds.c b/libexec/rtld-elf/tests/ld_library_pathfds.c
index b8ef31e..1100894 100644
--- a/libexec/rtld-elf/tests/ld_library_pathfds.c
+++ b/libexec/rtld-elf/tests/ld_library_pathfds.c
@@ -79,7 +79,7 @@ ATF_TC_BODY(bad_library_directories, tc)
char *pathfds;
setup(&files, tc);
- ATF_REQUIRE(asprintf(&pathfds, "::", files.etc) > 0);
+ ATF_REQUIRE(asprintf(&pathfds, "LD_LIBRARY_PATH_FDS=::") > 0);
expect_missing_library(files.binary, pathfds);
}
OpenPOWER on IntegriCloud