summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/csky/__syscall_error.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/csky/__syscall_error.c')
-rw-r--r--libc/sysdeps/linux/csky/__syscall_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/csky/__syscall_error.c b/libc/sysdeps/linux/csky/__syscall_error.c
index cc1fb5977..c6a4a14eb 100644
--- a/libc/sysdeps/linux/csky/__syscall_error.c
+++ b/libc/sysdeps/linux/csky/__syscall_error.c
@@ -8,7 +8,7 @@
#include <errno.h>
#include <features.h>
-int __syscall_error(int err_no)
+long __syscall_error(int err_no)
{
__set_errno(-err_no);
return -1;