fix shmdt syscall calling convention on old archs
This commit is contained in:
parent
8fc7b5965a
commit
86dd1e7bbb
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue