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:
ngie 2014-08-04 05:46:10 +00:00
parent b396ce44d5
commit 5911324544

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