X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Ffcntl%2Fposix_fallocate.c;h=c57a24aef4d9aa7da437bac0d4ec32522c8cfc01;hb=78691fa76d40751173be95527ece8821113a1be0;hp=d6680c142c35ba51159ad767a155a898dd836503;hpb=1c76683cb4377a481dc1085b63170bb276512267;p=musl diff --git a/src/fcntl/posix_fallocate.c b/src/fcntl/posix_fallocate.c index d6680c14..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(base), - __SYSCALL_LL(len)); + return -__syscall(SYS_fallocate, fd, 0, __SYSCALL_LL_E(base), + __SYSCALL_LL_E(len)); } + +weak_alias(posix_fallocate, posix_fallocate64);