about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-03-10 17:24:14 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-03-10 17:24:14 -0300
commitd8faf2955aeea873fb6878f888dce4632bc4ba5c (patch)
treef66f13c19964d37db58b780ceb21ec0a9b0dc0ce /sysdeps
parentfbaf0bae5722307ebede45596e99cdf2837a40c1 (diff)
downloadglibc-d8faf2955aeea873fb6878f888dce4632bc4ba5c.tar.gz
glibc-d8faf2955aeea873fb6878f888dce4632bc4ba5c.tar.xz
glibc-d8faf2955aeea873fb6878f888dce4632bc4ba5c.zip
mips: Fix wrong INTERNAL_SYSCALL_ERROR_P check from bc2eb9321e
Checked on mips64-linux-gnu.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c b/sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c
index cd495a3337..62df5fb26c 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c
+++ b/sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c
@@ -43,7 +43,7 @@ __fxstatat64 (int vers, int fd, const char *file, struct stat64 *st, int flag)
   struct kernel_stat kst;
 
   result = INTERNAL_SYSCALL_CALL (newfstatat, fd, file, &kst, flag);
-  if (__glibc_unlikely (INTERNAL_SYSCALL_ERROR_P (result)))
+  if (!__glibc_likely (INTERNAL_SYSCALL_ERROR_P (result)))
     return __xstat64_conv (vers, &kst, st);
   else
     {