about summary refs log tree commit diff
path: root/src/signal/sigtimedwait.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal/sigtimedwait.c')
-rw-r--r--src/signal/sigtimedwait.c2
1 files changed, 1 insertions, 1 deletions
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;