about summary refs log tree commit diff
path: root/src/signal
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal')
-rw-r--r--src/signal/sigpending.c2
-rw-r--r--src/signal/sigsuspend.c2
-rw-r--r--src/signal/sigtimedwait.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/signal/sigpending.c b/src/signal/sigpending.c
index 496025a7..f6b8972e 100644
--- a/src/signal/sigpending.c
+++ b/src/signal/sigpending.c
@@ -3,5 +3,5 @@
 
 int sigpending(sigset_t *set)
 {
-	return syscall(__NR_rt_sigpending, set, 8);
+	return syscall(SYS_rt_sigpending, set, 8);
 }
diff --git a/src/signal/sigsuspend.c b/src/signal/sigsuspend.c
index 9ee71240..cec5ddce 100644
--- a/src/signal/sigsuspend.c
+++ b/src/signal/sigsuspend.c
@@ -6,7 +6,7 @@ int sigsuspend(const sigset_t *mask)
 {
 	int ret;
 	CANCELPT_BEGIN;
-	ret = syscall(__NR_rt_sigsuspend, mask, 8);
+	ret = syscall(SYS_rt_sigsuspend, mask, 8);
 	if (ret<0) CANCELPT_TRY;
 	CANCELPT_END;
 	return ret;
diff --git a/src/signal/sigtimedwait.c b/src/signal/sigtimedwait.c
index 86a2c879..1694cbe1 100644
--- a/src/signal/sigtimedwait.c
+++ b/src/signal/sigtimedwait.c
@@ -8,7 +8,7 @@ int sigtimedwait(const sigset_t *mask, siginfo_t *si, const struct timespec *tim
 	int ret;
 	CANCELPT_BEGIN;
 	do {
-		ret = syscall(__NR_rt_sigtimedwait, mask, si, timeout, 8);
+		ret = syscall(SYS_rt_sigtimedwait, mask, si, timeout, 8);
 		if (ret<0) CANCELPT_TRY;
 	} while (ret<0 && errno==EINTR);
 	CANCELPT_END;