summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/nds32
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/nds32')
-rw-r--r--libc/sysdeps/linux/nds32/__syscall_error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/nds32/__syscall_error.c b/libc/sysdeps/linux/nds32/__syscall_error.c
index 2aa6903e2..c8e6044a7 100644
--- a/libc/sysdeps/linux/nds32/__syscall_error.c
+++ b/libc/sysdeps/linux/nds32/__syscall_error.c
@@ -8,8 +8,8 @@
/* This routine is jumped to by all the syscall handlers, to stash
* an error number into errno. */
-int __syscall_error(int err_no) attribute_hidden;
-int __syscall_error(int err_no)
+long __syscall_error(int err_no) attribute_hidden;
+long __syscall_error(int err_no)
{
__set_errno(err_no);
return -1;