Author: ngie
Date: Mon Aug  4 05:46:10 2014
New Revision: 269504
URL: http://svnweb.freebsd.org/changeset/base/269504

Log:
  Fix a -Wsecurity warning with clang
  
  Phabric: D525 (part of a larger patch)
  
  Reviewed by: jmmv
  Approved by: jmmv (co-mentor)

Modified:
  head/libexec/rtld-elf/tests/ld_library_pathfds.c

Modified: head/libexec/rtld-elf/tests/ld_library_pathfds.c
==============================================================================
--- head/libexec/rtld-elf/tests/ld_library_pathfds.c    Mon Aug  4 05:45:09 
2014        (r269503)
+++ head/libexec/rtld-elf/tests/ld_library_pathfds.c    Mon Aug  4 05:46:10 
2014        (r269504)
@@ -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);
 }
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to