1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

* sysdeps/unix/sysv/linux/faccessat.c: Move RESULT defn inside block.

This commit is contained in:
Roland McGrath
2006-01-21 20:07:20 +00:00
parent 79be21995e
commit c545373264
2 changed files with 3 additions and 3 deletions

View File

@ -42,8 +42,6 @@ faccessat (fd, file, mode, flag)
return -1;
}
int result;
#ifdef __NR_faccessat
if ((flag == 0 || ((flag & ~AT_EACCESS) == 0 && ! __libc_enable_secure))
# ifndef __ASSUME_ATFCTS
@ -51,7 +49,7 @@ faccessat (fd, file, mode, flag)
# endif
)
{
result = INLINE_SYSCALL (faccessat, 3, fd, file, mode);
int result = INLINE_SYSCALL (faccessat, 3, fd, file, mode);
# ifndef __ASSUME_ATFCTS
if (result == -1 && errno == ENOSYS)
__have_atfcts = -1;