mirror of git://git.musl-libc.org/musl
in posix_fadvise, don't bypass __syscall macro infrastructure
when commit0b6eb2dfb2
added the parentheses around __syscall to invoke the function directly, there was no __syscall7 in the syscall macro infrastructure, so this hack was needed. commit9a3bbce447
fixed that but failed to remove the hack.
This commit is contained in:
parent
4adc6c33e7
commit
804debee2b
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue