From e6d765a8b1278e9e5f507638ccdec9fe40e52364 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 5 Oct 2011 00:26:49 -0400 Subject: fix fcntl O_* flags for arm no idea why these 4 are permuted and the rest are standard/generic --- arch/arm/bits/fcntl.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'arch/arm/bits/fcntl.h') diff --git a/arch/arm/bits/fcntl.h b/arch/arm/bits/fcntl.h index 33a5185c..9db4258c 100644 --- a/arch/arm/bits/fcntl.h +++ b/arch/arm/bits/fcntl.h @@ -7,13 +7,13 @@ #define O_DSYNC 010000 #define O_SYNC 04010000 #define O_RSYNC 04010000 -#define O_DIRECTORY 0200000 -#define O_NOFOLLOW 0400000 +#define O_DIRECTORY 040000 +#define O_NOFOLLOW 0100000 #define O_CLOEXEC 02000000 #define O_ASYNC 020000 -#define O_DIRECT 040000 -#define O_LARGEFILE 0100000 +#define O_DIRECT 0200000 +#define O_LARGEFILE 0400000 #define O_NOATIME 01000000 #define O_NDELAY O_NONBLOCK -- cgit v1.2.1