diff options
-rw-r--r-- | lib/asan/lit_tests/TestCases/Linux/clone_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asan/lit_tests/TestCases/Linux/clone_test.cc b/lib/asan/lit_tests/TestCases/Linux/clone_test.cc index 0e12f35b4..432190a18 100644 --- a/lib/asan/lit_tests/TestCases/Linux/clone_test.cc +++ b/lib/asan/lit_tests/TestCases/Linux/clone_test.cc @@ -24,7 +24,7 @@ int main(int argc, char **argv) { char child_stack[kStackSize + 1]; char *sp = child_stack + kStackSize; // Stack grows down. printf("Parent: %p\n", sp); - pid_t clone_pid = clone(Child, sp, CLONE_FILES | CLONE_VM, NULL, 0, 0, 0); + pid_t clone_pid = clone(Child, sp, CLONE_FILES | CLONE_VM, NULL); int status; pid_t wait_result = waitpid(clone_pid, &status, __WCLONE); if (wait_result < 0) { |