update syscalls with off_t arguments to handle argument alignment, if needed
[musl] / src / unistd / truncate.c
index 461f6de..8e65655 100644 (file)
@@ -4,7 +4,7 @@
 
 int truncate(const char *path, off_t length)
 {
-       return syscall(SYS_truncate, path, __SYSCALL_LL(length));
+       return syscall(SYS_truncate, path, __SYSCALL_LL_O(length));
 }
 
 LFS64(truncate);