summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/ia64/bits/syscalls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/ia64/bits/syscalls.h b/libc/sysdeps/linux/ia64/bits/syscalls.h
index 9c6a2b77b..90297596b 100644
--- a/libc/sysdeps/linux/ia64/bits/syscalls.h
+++ b/libc/sysdeps/linux/ia64/bits/syscalls.h
@@ -63,8 +63,8 @@
#define INLINE_SYSCALL_NCS(name, nr, args...) \
({ \
- DO_INLINE_SYSCALL_NCS (name, nr, args) \
- if (_r10 == -1) \
+ DO_INLINE_SYSCALL_NCS (name, nr, args) \
+ if (unlikely (_r10 == -1)) \
{ \
__set_errno (_retval); \
_retval = -1; \