2004-09-27 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Tue, 28 Sep 2004 00:42:52 +0000 (00:42 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 28 Sep 2004 00:42:52 +0000 (00:42 +0000)
* sysdeps/unix/sysv/linux/waitid.c (do_waitid): Add fifth argument to
all three syscall uses, not just one!

sysdeps/unix/sysv/linux/waitid.c

index 21226df..207c3d3 100644 (file)
@@ -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