semtimedop: add time64 syscall support, decouple 32-bit time_t
[musl] / src / fcntl / posix_fallocate.c
index bd72624..c57a24a 100644 (file)
@@ -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);