diff options
Diffstat (limited to 'src/unistd/truncate.c')
-rw-r--r-- | src/unistd/truncate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/truncate.c b/src/unistd/truncate.c index 3edacd12..461f6de1 100644 --- a/src/unistd/truncate.c +++ b/src/unistd/truncate.c @@ -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(length)); } LFS64(truncate); |