summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm64/syscalls/ftruncate.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-arm64/syscalls/ftruncate.S')
-rw-r--r--libc/arch-arm64/syscalls/ftruncate.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/arch-arm64/syscalls/ftruncate.S b/libc/arch-arm64/syscalls/ftruncate.S
index adf87fe..c6e99f5 100644
--- a/libc/arch-arm64/syscalls/ftruncate.S
+++ b/libc/arch-arm64/syscalls/ftruncate.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(ftruncate)
mov x8, __NR_ftruncate
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(ftruncate)