projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
it's called getgrgid_r, not getgruid_r...
[oweals/musl.git]
/
src
/
process
/
waitid.c
diff --git
a/src/process/waitid.c
b/src/process/waitid.c
index b1e5e9b19013998cbcc044246d9a0fd9138af272..c67feac3836fcfa7487e11560f5990f5021a733c 100644
(file)
--- a/
src/process/waitid.c
+++ b/
src/process/waitid.c
@@
-1,7
+1,8
@@
#include <sys/wait.h>
#include "syscall.h"
+#include "libc.h"
int waitid(idtype_t type, id_t id, siginfo_t *info, int options)
{
- return syscall(SYS_waitid, type, id, info, options, 0);
+ return syscall
_cp
(SYS_waitid, type, id, info, options, 0);
}