remove useless failure-check from freopen (can't happen)
[musl] / src / fcntl / posix_fallocate.c
index d6680c1..80a65cb 100644 (file)
@@ -3,6 +3,6 @@
 
 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));
 }