X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=inline;f=src%2Ffcntl%2Fposix_fallocate.c;h=80a65cbfd62e9148336d58aec3587fe53bbfb610;hb=5271ff46b9e983bec5fd9ab79d5aaf096fa54157;hp=bd726242d325a461d66ad505e57f5db5f5ca7351;hpb=231b9d1880bf686c0db918cea16c355f2d6598fc;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)); }