X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Funistd%2Fftruncate.c;h=7ed69ff65e9d915c11bb4f26be55144b020eab19;hb=73d2fde1195401dfb87935f46126f9481af1a8c3;hp=f57ea12036fd2591462c547d6030f711df2c2b58;hpb=685e40bb09f5f24a2af54ea09c97328808f76990;p=musl diff --git a/src/unistd/ftruncate.c b/src/unistd/ftruncate.c index f57ea120..7ed69ff6 100644 --- a/src/unistd/ftruncate.c +++ b/src/unistd/ftruncate.c @@ -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);