Fix a -Wsecurity warning with clang

Phabric: D525 (part of a larger patch)

Reviewed by: jmmv
Approved by: jmmv (co-mentor)
This commit is contained in:
Enji Cooper 2014-08-04 05:46:10 +00:00
parent 1a49685c28
commit 35e8923e7e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=269504

View File

@ -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);
}