svn commit: trunk/uClibc/libc/sysdeps/linux/ia64

vapier at uclibc.org vapier at uclibc.org
Thu Feb 23 01:20:38 UTC 2006


Author: vapier
Date: 2006-02-22 17:20:37 -0800 (Wed, 22 Feb 2006)
New Revision: 14222

Log:
dont invert errno as assembly routines store positive values, not negative ones

Modified:
   trunk/uClibc/libc/sysdeps/linux/ia64/__syscall_error.c


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/ia64/__syscall_error.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/ia64/__syscall_error.c	2006-02-23 01:02:32 UTC (rev 14221)
+++ trunk/uClibc/libc/sysdeps/linux/ia64/__syscall_error.c	2006-02-23 01:20:37 UTC (rev 14222)
@@ -14,6 +14,6 @@
 int __syscall_error(void)
 {
 	register int err_no asm("%r8");
-	__set_errno(-err_no);
+	__set_errno(err_no);
 	return -1;
 }




More information about the uClibc-cvs mailing list