summaryrefslogtreecommitdiff
path: root/tests/test-ptrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-ptrace.c')
-rw-r--r--tests/test-ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-ptrace.c b/tests/test-ptrace.c
index 69e18080..942b0db4 100644
--- a/tests/test-ptrace.c
+++ b/tests/test-ptrace.c
@@ -237,7 +237,7 @@ main (int argc, char **argv)
while (nerrors <= nerrors_max)
{
- pid = wait4 (-1, &status, 0, 0);
+ pid = wait4 (-1, &status, 0, NULL);
if (pid == -1)
{
if (errno == EINTR)