X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Ffcntl%2Fposix_fallocate.c;h=80a65cbfd62e9148336d58aec3587fe53bbfb610;hb=708c91f4e9be2cfd6d35e71361956e13f3201b85;hp=bd726242d325a461d66ad505e57f5db5f5ca7351;hpb=0b6eb2dfb2e84a8a51906e7634f3d5edc230b058;p=musl diff --git a/src/fcntl/posix_fallocate.c b/src/fcntl/posix_fallocate.c index bd726242..80a65cbf 100644 --- a/src/fcntl/posix_fallocate.c +++ b/src/fcntl/posix_fallocate.c @@ -3,6 +3,6 @@ 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)); }