提交 804debee 编写于 作者: R Rich Felker

in posix_fadvise, don't bypass __syscall macro infrastructure

when commit 0b6eb2df added the
parentheses around __syscall to invoke the function directly, there
was no __syscall7 in the syscall macro infrastructure, so this hack
was needed. commit 9a3bbce4 fixed that
but failed to remove the hack.
上级 4adc6c33
......@@ -4,7 +4,7 @@
int posix_fadvise(int fd, off_t base, off_t len, int advice)
{
return -(__syscall)(SYS_fadvise, fd, __SYSCALL_LL_O(base),
return -__syscall(SYS_fadvise, fd, __SYSCALL_LL_O(base),
__SYSCALL_LL_E(len), advice);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册