diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/openat64_nocancel.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/openat64_nocancel.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sysdeps/unix/sysv/linux/openat64_nocancel.c b/sysdeps/unix/sysv/linux/openat64_nocancel.c index 51377aea45..b9c0d98770 100644 --- a/sysdeps/unix/sysv/linux/openat64_nocancel.c +++ b/sysdeps/unix/sysv/linux/openat64_nocancel.c @@ -22,12 +22,6 @@ #include <sysdep-cancel.h> #include <not-cancel.h> -#ifdef __OFF_T_MATCHES_OFF64_T -# define EXTRA_OPEN_FLAGS 0 -#else -# define EXTRA_OPEN_FLAGS O_LARGEFILE -#endif - int __openat64_nocancel (int fd, const char *file, int oflag, ...) { @@ -40,7 +34,7 @@ __openat64_nocancel (int fd, const char *file, int oflag, ...) va_end (arg); } - return INLINE_SYSCALL_CALL (openat, fd, file, oflag | EXTRA_OPEN_FLAGS, + return INLINE_SYSCALL_CALL (openat, fd, file, oflag | O_LARGEFILE, mode); } hidden_def (__openat64_nocancel) |