diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/fxstatat.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/fxstatat.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/fxstatat.c b/sysdeps/unix/sysv/linux/fxstatat.c index c88bcecbd2..b94b1839e9 100644 --- a/sysdeps/unix/sysv/linux/fxstatat.c +++ b/sysdeps/unix/sysv/linux/fxstatat.c @@ -54,10 +54,8 @@ __fxstatat (int vers, int fd, const char *file, struct stat *st, int flag) #endif } else - { - __set_errno (INTERNAL_SYSCALL_ERRNO (result, err)); - return -1; - } + return INLINE_SYSCALL_ERROR_RETURN_VALUE (INTERNAL_SYSCALL_ERRNO (result, + err)); } libc_hidden_def (__fxstatat) #ifdef XSTAT_IS_XSTAT64 |