From 5577b8a709c072fedc73dde9b3ad730699438bf7 Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Sun, 3 Dec 2017 16:50:16 +0000 Subject: Add an envp argument to proc_create(). This is needed to support dtrace's -x setenv option. MFC after: 2 weeks --- lib/libproc/tests/proc_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libproc/tests') diff --git a/lib/libproc/tests/proc_test.c b/lib/libproc/tests/proc_test.c index 9ec99cd355c4..ca7afc73b7ae 100644 --- a/lib/libproc/tests/proc_test.c +++ b/lib/libproc/tests/proc_test.c @@ -65,7 +65,7 @@ start_prog(const struct atf_tc *tc, bool sig) argv[1] = NULL; } - error = proc_create(argv[0], argv, NULL, NULL, &phdl); + error = proc_create(argv[0], argv, NULL, NULL, NULL, &phdl); ATF_REQUIRE_EQ_MSG(error, 0, "failed to run '%s'", target_prog_file); ATF_REQUIRE(phdl != NULL); -- cgit v1.3