diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-02-20 10:08:06 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-02-20 10:11:33 -0300 |
commit | b790c8c2ed5d5a51026203ccb3c46a3e95526d6b (patch) | |
tree | dc871e4df64492c2039f1f22c00d0d7e2b945fa5 /sysdeps | |
parent | ddc650e9b3dc916eab417ce9f79e67337b05035c (diff) | |
download | glibc-b790c8c2ed5d5a51026203ccb3c46a3e95526d6b.tar.gz glibc-b790c8c2ed5d5a51026203ccb3c46a3e95526d6b.tar.xz glibc-b790c8c2ed5d5a51026203ccb3c46a3e95526d6b.zip |
nios2: Fix Linux kABI for syscall return
From the type introduced at 861be5fd66.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/nios2/sysdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/nios2/sysdep.h b/sysdeps/unix/sysv/linux/nios2/sysdep.h index dbd23b814a..520c9460a2 100644 --- a/sysdeps/unix/sysv/linux/nios2/sysdep.h +++ b/sysdeps/unix/sysv/linux/nios2/sysdep.h @@ -159,7 +159,7 @@ : "+r" (_r2), "=r" (_err) \ : ASM_ARGS_##nr \ : __SYSCALL_CLOBBERS); \ - _sys_result = _err != 0 ? -_r2 : -_r2; \ + _sys_result = _err != 0 ? -_r2 : _r2; \ } \ (int) _sys_result; }) |