mirror of git://git.musl-libc.org/musl
fix shmdt syscall calling convention on old archs
This commit is contained in:
parent
8fc7b5965a
commit
86dd1e7bbb
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue