about summary refs log tree commit diff
path: root/src/unistd/truncate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/truncate.c')
-rw-r--r--src/unistd/truncate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/truncate.c b/src/unistd/truncate.c
index 461f6de1..8e65655c 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(SYS_truncate, path, __SYSCALL_LL(length));
+	return syscall(SYS_truncate, path, __SYSCALL_LL_O(length));
 }
 
 LFS64(truncate);