aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-09-28 00:42:52 +0000
committerRoland McGrath <roland@gnu.org>2004-09-28 00:42:52 +0000
commitc8cde977f430e6c4510f073959eb5811e4200c35 (patch)
treed3daf50f1e9f1fee196e213afee8d259b13d2698 /sysdeps/unix
parent9ea9b141fd21eca9448dc8abb2809f9e8be2f81c (diff)
downloadglibc-c8cde977f430e6c4510f073959eb5811e4200c35.zip
glibc-c8cde977f430e6c4510f073959eb5811e4200c35.tar.gz
glibc-c8cde977f430e6c4510f073959eb5811e4200c35.tar.bz2
2004-09-27 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/waitid.c (do_waitid): Add fifth argument to all three syscall uses, not just one!
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/waitid.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/waitid.c b/sysdeps/unix/sysv/linux/waitid.c
index 21226df..207c3d3 100644
--- a/sysdeps/unix/sysv/linux/waitid.c
+++ b/sysdeps/unix/sysv/linux/waitid.c
@@ -47,10 +47,11 @@ do_waitid (idtype_t idtype, id_t id, siginfo_t *infop, int options)
{
static int waitid_works;
if (waitid_works > 0)
- return INLINE_SYSCALL (waitid, 4, idtype, id, infop, options);
+ return INLINE_SYSCALL (waitid, 5, idtype, id, infop, options, NULL);
if (waitid_works == 0)
{
- int result = INLINE_SYSCALL (waitid, 4, idtype, id, infop, options);
+ int result = INLINE_SYSCALL (waitid, 5,
+ idtype, id, infop, options, NULL);
if (result < 0 && errno == ENOSYS)
waitid_works = -1;
else