X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Funistd%2Fftruncate.c;h=54ff34bc3ebd7fa76273148eac9eee2880935717;hb=5ff3eea91fa6bdce25b3a35644433f68e076beca;hp=f57ea12036fd2591462c547d6030f711df2c2b58;hpb=685e40bb09f5f24a2af54ea09c97328808f76990;p=musl diff --git a/src/unistd/ftruncate.c b/src/unistd/ftruncate.c index f57ea120..54ff34bc 100644 --- a/src/unistd/ftruncate.c +++ b/src/unistd/ftruncate.c @@ -1,10 +1,7 @@ #include #include "syscall.h" -#include "libc.h" int ftruncate(int fd, off_t length) { - return syscall(__NR_ftruncate, fd, __SYSCALL_LL(length)); + return syscall(SYS_ftruncate, fd, __SYSCALL_LL_O(length)); } - -LFS64(ftruncate);