summaryrefslogtreecommitdiff
path: root/libc/sysdeps/unix/sysv/linux/openat.c
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2012-03-21 20:25:11 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2012-03-21 20:25:11 +0000
commit11e8a843c1be2bfbacb427ca25282e6979ebb48f (patch)
tree3358bff2de223bb79aa10ff35c4273cb94dc04e8 /libc/sysdeps/unix/sysv/linux/openat.c
parent21983719922788c86799322b2b4cd68830712137 (diff)
downloadeglibc2-11e8a843c1be2bfbacb427ca25282e6979ebb48f.tar.gz
Merge changes between r17530 and r17700 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@17701 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/sysdeps/unix/sysv/linux/openat.c')
-rw-r--r--libc/sysdeps/unix/sysv/linux/openat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/unix/sysv/linux/openat.c b/libc/sysdeps/unix/sysv/linux/openat.c
index 11e673fe6..62ea1e3c9 100644
--- a/libc/sysdeps/unix/sysv/linux/openat.c
+++ b/libc/sysdeps/unix/sysv/linux/openat.c
@@ -84,7 +84,6 @@ OPENAT_NOT_CANCEL (fd, file, oflag, mode)
oflag |= MORE_OFLAGS;
#endif
- INTERNAL_SYSCALL_DECL (err);
int res;
#ifdef __NR_openat
@@ -104,6 +103,7 @@ OPENAT_NOT_CANCEL (fd, file, oflag, mode)
#endif
#ifndef __ASSUME_ATFCTS
+ INTERNAL_SYSCALL_DECL (err);
char *buf = NULL;
if (fd != AT_FDCWD && file[0] != '/')