From: Rich Felker Date: Sun, 28 Oct 2012 19:04:26 +0000 (-0400) Subject: fix shmdt syscall calling convention on old archs X-Git-Tag: v0.9.7~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=86dd1e7bbb1e0901b7f07ed41be5dc98fd39f5ef;p=oweals%2Fmusl.git fix shmdt syscall calling convention on old archs --- 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 }