summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/test.c b/common/test.c
index 289b35b..5a1cf72 100644
--- a/common/test.c
+++ b/common/test.c
@@ -532,7 +532,7 @@ p11_test_run_child (const char **argv,
if (child == 0) {
if (quiet_out)
close (1); /* stdout */
- execve (argv[0], (char **)argv, NULL);
+ execv (argv[0], (char **)argv);
assert_not_reached ();
}