projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
avoid need for -march=mips2 to compile mips atomic.h asm
[musl]
/
src
/
process
/
waitid.c
diff --git
a/src/process/waitid.c
b/src/process/waitid.c
index
4fa7c02
..
c67feac
100644
(file)
--- a/
src/process/waitid.c
+++ b/
src/process/waitid.c
@@
-4,10
+4,5
@@
int waitid(idtype_t type, id_t id, siginfo_t *info, int options)
{
int waitid(idtype_t type, id_t id, siginfo_t *info, int options)
{
- int r;
- CANCELPT_BEGIN;
- r = syscall(SYS_waitid, type, id, info, options, 0);
- if (r<0) CANCELPT_TRY;
- CANCELPT_END;
- return r;
+ return syscall_cp(SYS_waitid, type, id, info, options, 0);
}
}