summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/or1k
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/or1k')
-rw-r--r--libc/sysdeps/linux/or1k/__syscall_error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/or1k/__syscall_error.c b/libc/sysdeps/linux/or1k/__syscall_error.c
index 1b7e8a394..7d1e09d91 100644
--- a/libc/sysdeps/linux/or1k/__syscall_error.c
+++ b/libc/sysdeps/linux/or1k/__syscall_error.c
@@ -17,11 +17,11 @@
#include <errno.h>
-int __syscall_error (int err_no);
+long __syscall_error (int err_no);
/* This routine is jumped to by all the syscall handlers, to stash
* an error number into errno. */
-int __syscall_error (int err_no)
+long __syscall_error (int err_no)
{
__set_errno (err_no);
return -1;