[uClibc-cvs] svn commit: trunk/uClibc/libc/sysdeps/linux/arm

vapier at uclibc.org vapier at uclibc.org
Fri Jul 29 22:14:23 UTC 2005


Author: vapier
Date: 2005-07-29 16:14:23 -0600 (Fri, 29 Jul 2005)
New Revision: 10958

Log:
we are handed errno as a negative value so we need to reverse it

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


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/arm/__syscall_error.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/arm/__syscall_error.c	2005-07-29 14:58:09 UTC (rev 10957)
+++ trunk/uClibc/libc/sysdeps/linux/arm/__syscall_error.c	2005-07-29 22:14:23 UTC (rev 10958)
@@ -24,6 +24,6 @@
  * an error number into errno.  */
 int attribute_hidden __syscall_error(int err_no)
 {
-	__set_errno(err_no);
+	__set_errno(-err_no);
 	return -1;
 }




More information about the uClibc-cvs mailing list