aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/i386/posix_fadvise64.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/posix_fadvise64.S')
-rw-r--r--sysdeps/unix/sysv/linux/i386/posix_fadvise64.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/posix_fadvise64.S b/sysdeps/unix/sysv/linux/i386/posix_fadvise64.S
index b577f2284e..99a3ea536d 100644
--- a/sysdeps/unix/sysv/linux/i386/posix_fadvise64.S
+++ b/sysdeps/unix/sysv/linux/i386/posix_fadvise64.S
@@ -116,7 +116,10 @@ L(overflow):
END (BP_SYM (__posix_fadvise64_l64))
#ifdef __NR_fadvise64
-PSEUDO_ERRVAL (__posix_fadvise64_l32, fadvise64, 5)
+ .section .text.compat, "ax"
+ENTRY (__posix_fadvise64_l32)
+ DO_CALL (fadvise64, 5)
+ negl %eax
ret
PSEUDO_END_ERRVAL (__posix_fadvise64_l32)
#else