Browse Source

or1k: correctly pass tid in 4th param

Stafford Horne 7 years ago
parent
commit
2a481866a5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libpthread/nptl/sysdeps/unix/sysv/linux/or1k/fork.c

+ 1 - 1
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"