From 2a481866a55f67fcbfda6cee5336aa7c18fa6353 Mon Sep 17 00:00:00 2001 From: Stafford Horne Date: Mon, 20 Nov 2017 21:47:06 +0900 Subject: or1k: correctly pass tid in 4th param --- libpthread/nptl/sysdeps/unix/sysv/linux/or1k/fork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/or1k/fork.c b/libpthread/nptl/sysdeps/unix/sysv/linux/or1k/fork.c index beb6cb0f7..e55d05d41 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/or1k/fork.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/or1k/fork.c @@ -22,6 +22,6 @@ #define ARCH_FORK() \ INLINE_SYSCALL (clone, 5, \ CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID | SIGCHLD, 0, \ - NULL, NULL, &THREAD_SELF->tid) + NULL, &THREAD_SELF->tid, NULL) #include "../fork.c" -- cgit v1.2.3