about summary refs log tree commit diff
path: root/src/process/waitid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process/waitid.c')
-rw-r--r--src/process/waitid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process/waitid.c b/src/process/waitid.c
index 0ec0d55c..b1e5e9b1 100644
--- a/src/process/waitid.c
+++ b/src/process/waitid.c
@@ -3,5 +3,5 @@
 
 int waitid(idtype_t type, id_t id, siginfo_t *info, int options)
 {
-	return syscall5(__NR_waitid, type, id, (long)info, options, 0);
+	return syscall(SYS_waitid, type, id, info, options, 0);
 }