remove unused #undef environ now that libc.h no longer #defines it
[musl] / src / unistd / truncate.c
index 3edacd1..8e65655 100644 (file)
@@ -4,7 +4,7 @@
 
 int truncate(const char *path, off_t length)
 {
-       return syscall(__NR_truncate, path, __SYSCALL_LL(length));
+       return syscall(SYS_truncate, path, __SYSCALL_LL_O(length));
 }
 
 LFS64(truncate);