X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Ffcntl%2Fposix_fallocate.c;h=c57a24aef4d9aa7da437bac0d4ec32522c8cfc01;hb=eb2e298cdc814493a6ced8c05cf0d0f5cccc8b63;hp=bd726242d325a461d66ad505e57f5db5f5ca7351;hpb=0b6eb2dfb2e84a8a51906e7634f3d5edc230b058;p=musl diff --git a/src/fcntl/posix_fallocate.c b/src/fcntl/posix_fallocate.c index bd726242..c57a24ae 100644 --- a/src/fcntl/posix_fallocate.c +++ b/src/fcntl/posix_fallocate.c @@ -3,6 +3,8 @@ int posix_fallocate(int fd, off_t base, off_t len) { - return -__syscall(SYS_fallocate, fd, __SYSCALL_LL_O(base), + return -__syscall(SYS_fallocate, fd, 0, __SYSCALL_LL_E(base), __SYSCALL_LL_E(len)); } + +weak_alias(posix_fallocate, posix_fallocate64);