summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-10-28 15:04:26 -0400
committerRich Felker <dalias@aerifal.cx>2012-10-28 15:04:26 -0400
commit86dd1e7bbb1e0901b7f07ed41be5dc98fd39f5ef (patch)
tree71bda53a4c1e51ee0c63e2fd0b94cf57d6e29217 /src
parent8fc7b5965ac6a000c93c7362276a6a7b193647f4 (diff)
downloadmusl-86dd1e7bbb1e0901b7f07ed41be5dc98fd39f5ef.tar.gz
musl-86dd1e7bbb1e0901b7f07ed41be5dc98fd39f5ef.tar.bz2
musl-86dd1e7bbb1e0901b7f07ed41be5dc98fd39f5ef.tar.xz
musl-86dd1e7bbb1e0901b7f07ed41be5dc98fd39f5ef.zip
fix shmdt syscall calling convention on old archs
Diffstat (limited to 'src')
-rw-r--r--src/ipc/shmdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipc/shmdt.c b/src/ipc/shmdt.c
index 2e198b3e..d4fac8f1 100644
--- 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
}