summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2017-11-20 21:47:06 +0900
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2017-11-25 17:46:25 +0100
commit2a481866a55f67fcbfda6cee5336aa7c18fa6353 (patch)
tree1c0926ad1b670e37e658d8b8c87714913414c736 /libpthread
parent40308d7d3b61f83bb5cc3cb406dac5dd318a48cd (diff)
or1k: correctly pass tid in 4th param
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/or1k/fork.c2
1 files changed, 1 insertions, 1 deletions
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"