use bss instead of mmap for main thread's pthread thread-specific data
[oweals/musl.git] / src / thread / pthread_kill.c
index 6448d978d1257a0f3fd07a4454b116317b26015e..17aa5c4bdba2dd2af3d7a2368e72b5c8e9b132ea 100644 (file)
@@ -2,5 +2,5 @@
 
 int pthread_kill(pthread_t t, int sig)
 {
-       return __syscall(__NR_tgkill, t->pid, t->tid, sig);
+       return -__syscall(__NR_tgkill, t->pid, t->tid, sig);
 }