diff --git a/libc/unistd/raise.c b/libc/unistd/raise.c index de099da25..7b03a7ab9 100644 --- a/libc/unistd/raise.c +++ b/libc/unistd/raise.c @@ -30,5 +30,5 @@ int raise(int signum) { - return kill(getpid(), signum); + return kill(gettid(), signum); }