projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
redo cond vars again, use sequence numbers
[musl]
/
src
/
ipc
/
msgctl.c
diff --git
a/src/ipc/msgctl.c
b/src/ipc/msgctl.c
index
7c84291
..
d1ff7c7
100644
(file)
--- a/
src/ipc/msgctl.c
+++ b/
src/ipc/msgctl.c
@@
-4,9
+4,9
@@
int msgctl(int q, int cmd, struct msqid_ds *buf)
{
int msgctl(int q, int cmd, struct msqid_ds *buf)
{
-#ifdef
__NR
_msgctl
- return syscall(SYS_msgctl, q, cmd, buf);
+#ifdef
SYS
_msgctl
+ return syscall(SYS_msgctl, q, cmd
| 0x100
, buf);
#else
#else
- return syscall(SYS_ipc, IPCOP_msgctl, q, cmd
, buf
);
+ return syscall(SYS_ipc, IPCOP_msgctl, q, cmd
| 0x100, 0, buf, 0
);
#endif
}
#endif
}