OSDN Git Service

h8300: O_DIRECT and O_DIRECTIRY swapping. rx
authorYoshinori Sato <ysato@users.sourceforge.jp>
Sat, 9 Jan 2016 06:57:55 +0000 (15:57 +0900)
committerYoshinori Sato <ysato@users.sourceforge.jp>
Sat, 9 Jan 2016 06:57:55 +0000 (15:57 +0900)
libc/sysdeps/linux/h8300/bits/fcntl.h

index d180cbd..c167ee2 100644 (file)
@@ -44,8 +44,8 @@
 #define O_ASYNC                 020000
 
 #ifdef __USE_GNU
-# define O_DIRECTORY    040000 /* Must be a directory.  */
-# define O_DIRECT      0200000 /* Direct disk access.  */
+# define O_DIRECT       040000 /* Direct disk access.  */
+# define O_DIRECTORY   0200000 /* Must be a directory.  */
 # define O_NOFOLLOW    0400000 /* Do not follow links.  */
 # define O_NOATIME     01000000 /* Do not set atime.  */
 # define O_CLOEXEC     02000000 /* Set close_on_exec.  */