summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/sysdeps/linux/common/sigqueue.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/sigqueue.c b/libc/sysdeps/linux/common/sigqueue.c
index e55d3b343..c40753948 100644
--- a/libc/sysdeps/linux/common/sigqueue.c
+++ b/libc/sysdeps/linux/common/sigqueue.c
@@ -27,8 +27,8 @@
#ifdef __NR_rt_sigqueueinfo
-# define __NR___libc_rt_sigqueueinfo __NR_rt_sigqueueinfo
-static __inline__ _syscall3(int, __libc_rt_sigqueueinfo, pid_t, pid, int, sig, void*, value)
+# define __NR___syscall_rt_sigqueueinfo __NR_rt_sigqueueinfo
+static __always_inline _syscall3(int, __syscall_rt_sigqueueinfo, pid_t, pid, int, sig, void*, value)
/* Return any pending signal or wait for one for the given time. */
int sigqueue (pid_t pid, int sig, const union sigval val)
@@ -45,7 +45,7 @@ int sigqueue (pid_t pid, int sig, const union sigval val)
info.si_uid = getuid ();
info.si_value = val;
- return __libc_rt_sigqueueinfo(pid, sig, &info);
+ return __syscall_rt_sigqueueinfo(pid, sig, &info);
}
#endif