提交 86dd1e7b 编写于 作者: R Rich Felker

fix shmdt syscall calling convention on old archs

上级 8fc7b596
...@@ -7,6 +7,6 @@ int shmdt(const void *addr) ...@@ -7,6 +7,6 @@ int shmdt(const void *addr)
#ifdef SYS_shmdt #ifdef SYS_shmdt
return syscall(SYS_shmdt, addr); return syscall(SYS_shmdt, addr);
#else #else
return syscall(SYS_ipc, IPCOP_shmdt, addr); return syscall(SYS_ipc, IPCOP_shmdt, 0, 0, 0, addr);
#endif #endif
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册