consistency: change all remaining syscalls to use SYS_ rather than __NR_ prefix
[musl] / src / unistd / ftruncate.c
index f57ea12..7ed69ff 100644 (file)
@@ -4,7 +4,7 @@
 
 int ftruncate(int fd, off_t length)
 {
-       return syscall(__NR_ftruncate, fd, __SYSCALL_LL(length));
+       return syscall(SYS_ftruncate, fd, __SYSCALL_LL(length));
 }
 
 LFS64(ftruncate);