update syscalls with off_t arguments to handle argument alignment, if needed
[musl] / src / unistd / ftruncate.c
index db5da84..467135f 100644 (file)
@@ -4,7 +4,7 @@
 
 int ftruncate(int fd, off_t length)
 {
-       return syscall3(__NR_ftruncate, fd, SYSCALL_LL(length));
+       return syscall(SYS_ftruncate, fd, __SYSCALL_LL_O(length));
 }
 
 LFS64(ftruncate);