diff options
-rw-r--r-- | libc/sysdeps/linux/ia64/__syscall_error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/ia64/__syscall_error.c b/libc/sysdeps/linux/ia64/__syscall_error.c index 910b32cda..bb4ba4755 100644 --- a/libc/sysdeps/linux/ia64/__syscall_error.c +++ b/libc/sysdeps/linux/ia64/__syscall_error.c @@ -14,6 +14,6 @@ int __syscall_error(void) attribute_hidden; int __syscall_error(void) { register int err_no asm("%r8"); - __set_errno(-err_no); + __set_errno(err_no); return -1; } |