fix argument of set_tid_address()

This commit is contained in:
Balazs Gerofi bgerofi@riken.jp
2014-04-02 18:02:04 +09:00
parent ab13f9a57c
commit 583c9355cd

View File

@@ -1067,7 +1067,7 @@ SYSCALL_DECLARE(clone)
SYSCALL_DECLARE(set_tid_address)
{
cpu_local_var(current)->thread.clear_child_tid =
(int*)ihk_mc_syscall_arg2(ctx);
(int*)ihk_mc_syscall_arg0(ctx);
return cpu_local_var(current)->pid;
}