projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fc7b59
)
fix shmdt syscall calling convention on old archs
author
Rich Felker
<dalias@aerifal.cx>
Sun, 28 Oct 2012 19:04:26 +0000
(15:04 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 28 Oct 2012 19:04:26 +0000
(15:04 -0400)
src/ipc/shmdt.c
patch
|
blob
|
history
diff --git
a/src/ipc/shmdt.c
b/src/ipc/shmdt.c
index 2e198b3eefb8a153605fbbc2ba83d5b623bf00db..d4fac8f183a12281c76280377132de08a965059c 100644
(file)
--- a/
src/ipc/shmdt.c
+++ b/
src/ipc/shmdt.c
@@
-7,6
+7,6
@@
int shmdt(const void *addr)
#ifdef SYS_shmdt
return syscall(SYS_shmdt, addr);
#else
- return syscall(SYS_ipc, IPCOP_shmdt, addr);
+ return syscall(SYS_ipc, IPCOP_shmdt,
0, 0, 0,
addr);
#endif
}