diff options
Diffstat (limited to 'libc/arch-x86_64/syscalls/ftruncate.S')
-rw-r--r-- | libc/arch-x86_64/syscalls/ftruncate.S | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/arch-x86_64/syscalls/ftruncate.S b/libc/arch-x86_64/syscalls/ftruncate.S index 0b14403..0365368 100644 --- a/libc/arch-x86_64/syscalls/ftruncate.S +++ b/libc/arch-x86_64/syscalls/ftruncate.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(ftruncate) movl $__NR_ftruncate, %eax syscall @@ -11,7 +9,7 @@ ENTRY(ftruncate) jb 1f negl %eax movl %eax, %edi - call __set_errno + call __set_errno_internal 1: ret END(ftruncate) |