projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ea9b14
)
2004-09-27 Roland McGrath <roland@redhat.com>
author
Roland McGrath
<roland@gnu.org>
Tue, 28 Sep 2004 00:42:52 +0000
(
00:42
+0000)
committer
Roland 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
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/linux/waitid.c
b/sysdeps/unix/sysv/linux/waitid.c
index
21226df
..
207c3d3
100644
(file)
--- 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