projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4adc6c3
)
in posix_fadvise, don't bypass __syscall macro infrastructure
author
Rich Felker
<dalias@aerifal.cx>
Wed, 29 Jun 2016 21:45:40 +0000
(17:45 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 29 Jun 2016 21:45:40 +0000
(17:45 -0400)
when commit
0b6eb2dfb2e84a8a51906e7634f3d5edc230b058
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
9a3bbce447403d735282586786dc436ec1ffbad4
fixed that
but failed to remove the hack.
src/fcntl/posix_fadvise.c
patch
|
blob
|
history
diff --git
a/src/fcntl/posix_fadvise.c
b/src/fcntl/posix_fadvise.c
index d5360e0fc4279d2486541856d131160e9e46644d..fc1562e258902b82fbb7cee33a27b36942e2a0f9 100644
(file)
--- a/
src/fcntl/posix_fadvise.c
+++ b/
src/fcntl/posix_fadvise.c
@@
-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);
}