remove another invalid skip of locking in ungetwc
[oweals/musl.git] / src / unistd / ftruncate.c
index 7ed69ff65e9d915c11bb4f26be55144b020eab19..467135f009971316101b6e38e5384707baa508c4 100644 (file)
@@ -4,7 +4,7 @@
 
 int ftruncate(int fd, off_t length)
 {
-       return syscall(SYS_ftruncate, fd, __SYSCALL_LL(length));
+       return syscall(SYS_ftruncate, fd, __SYSCALL_LL_O(length));
 }
 
 LFS64(ftruncate);