summaryrefslogtreecommitdiff
path: root/src/signal/sigqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal/sigqueue.c')
-rw-r--r--src/signal/sigqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signal/sigqueue.c b/src/signal/sigqueue.c
index b8135d56..aeac4875 100644
--- a/src/signal/sigqueue.c
+++ b/src/signal/sigqueue.c
@@ -12,5 +12,5 @@ int sigqueue(pid_t pid, int sig, const union sigval value)
si.si_value = value;
si.si_pid = getpid();
si.si_uid = getuid();
- return syscall3(__NR_rt_sigqueueinfo, pid, sig, (long)&si);
+ return syscall(SYS_rt_sigqueueinfo, pid, sig, &si);
}