[asan] Remove extra clone() arguments in test.

Android headers define clone() as a 4-argument function without ellipsis.

llvm-svn: 201331
This commit is contained in:
Evgeniy Stepanov 2014-02-13 14:37:04 +00:00
parent f79669a323
commit 4e6096b859
1 changed files with 1 additions and 1 deletions

View File

@ -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) {