summaryrefslogtreecommitdiff
path: root/libc/signal/raise.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/signal/raise.c')
-rw-r--r--libc/signal/raise.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/signal/raise.c b/libc/signal/raise.c
index 69b61385c..5a964c4b6 100644
--- a/libc/signal/raise.c
+++ b/libc/signal/raise.c
@@ -2,6 +2,9 @@
* This file is part of the Linux-8086 C library and is distributed
* under the GNU Library General Public License.
*/
+
+#define kill __kill
+
#include <unistd.h>
#include <string.h>
#include <signal.h>
@@ -10,7 +13,7 @@
#undef raise
int attribute_hidden __raise(int signo)
{
- return kill(getpid(), signo);
+ return kill(__getpid(), signo);
}
/* psm: keep this weak, because the one in libpthread.so could overwrite it */