projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
better fix sysconf pthread stack min
[musl]
/
src
/
ipc
/
semop.c
diff --git
a/src/ipc/semop.c
b/src/ipc/semop.c
index
1545340
..
8046e43
100644
(file)
--- a/
src/ipc/semop.c
+++ b/
src/ipc/semop.c
@@
-4,7
+4,7
@@
int semop(int id, struct sembuf *buf, size_t n)
{
-#ifdef
__NR
_semop
+#ifdef
SYS
_semop
return syscall(SYS_semop, id, buf, n);
#else
return syscall(SYS_ipc, IPCOP_semop, id, n, 0, buf);