projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tgmath.h: suppress any existing macro definitions before defining macros
[musl]
/
src
/
ipc
/
semctl.c
diff --git
a/src/ipc/semctl.c
b/src/ipc/semctl.c
index
df05ec7
..
a210e20
100644
(file)
--- a/
src/ipc/semctl.c
+++ b/
src/ipc/semctl.c
@@
-11,7
+11,7
@@
int semctl(int id, int num, int cmd, ...)
arg = va_arg(ap, long);
va_end(ap);
#ifdef SYS_semctl
arg = va_arg(ap, long);
va_end(ap);
#ifdef SYS_semctl
- return syscall(SYS_semctl, id, num, cmd, arg);
+ return syscall(SYS_semctl, id, num, cmd
| 0x100
, arg);
#else
return syscall(SYS_ipc, IPCOP_semctl, id, num, cmd | 0x100, &arg);
#endif
#else
return syscall(SYS_ipc, IPCOP_semctl, id, num, cmd | 0x100, &arg);
#endif