mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-12 14:29:28 +00:00
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:
parent
1a49685c28
commit
35e8923e7e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=269504
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user