summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/arm/__syscall_error.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-07-30 01:56:45 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-07-30 01:56:45 +0000
commit04ab95efe9d498e9ac07a37c80b80b6f267ddcf0 (patch)
tree57ca40d5c9c1efa6025867cca1d1572a15f1eac6 /libc/sysdeps/linux/arm/__syscall_error.c
parentb87804d0362d55f8a0291595036ebfccf5b1a59f (diff)
downloaduClibc-alpine-04ab95efe9d498e9ac07a37c80b80b6f267ddcf0.tar.bz2
uClibc-alpine-04ab95efe9d498e9ac07a37c80b80b6f267ddcf0.tar.xz
More merges with main trunk.
Diffstat (limited to 'libc/sysdeps/linux/arm/__syscall_error.c')
-rw-r--r--libc/sysdeps/linux/arm/__syscall_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/arm/__syscall_error.c b/libc/sysdeps/linux/arm/__syscall_error.c
index de65a1f39..40b6b10dc 100644
--- a/libc/sysdeps/linux/arm/__syscall_error.c
+++ b/libc/sysdeps/linux/arm/__syscall_error.c
@@ -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;
}