[git commit future] i386/posix_fadvise64.S: add ret back

Peter S. Mazinger ps.m at gmx.net
Wed Apr 20 10:50:38 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=c3bce3df5aae1dcbea1c4eb1596827d59fb407f4
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future

based on a patch from Timo Teraes <timo.teras at iki.fi> on ml

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
 libc/sysdeps/linux/i386/posix_fadvise64.S |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/libc/sysdeps/linux/i386/posix_fadvise64.S b/libc/sysdeps/linux/i386/posix_fadvise64.S
index 4b171c0..5470404 100644
--- a/libc/sysdeps/linux/i386/posix_fadvise64.S
+++ b/libc/sysdeps/linux/i386/posix_fadvise64.S
@@ -52,5 +52,8 @@ posix_fadvise64:
 
 	/* Returns 0 on success, else an error code.  */
 	negl	%eax
+
+	/* Successful; return the syscall's value.  */
+	ret
 .size posix_fadvise64,.-posix_fadvise64
 #endif
-- 
1.7.3.4



More information about the uClibc-cvs mailing list