From d0ac75ea66d87c23efdad7975602dbdfcdf97a7e Mon Sep 17 00:00:00 2001 From: dtrg Date: Fri, 20 Aug 2010 19:27:09 +0000 Subject: [PATCH] Fixed definitions of O_* flags. --- plat/linux386/include/unistd.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plat/linux386/include/unistd.h b/plat/linux386/include/unistd.h index 5cbdc1b5..1002da58 100644 --- a/plat/linux386/include/unistd.h +++ b/plat/linux386/include/unistd.h @@ -43,9 +43,9 @@ enum O_WRONLY = 1, O_RDWR = 2, - O_CREAT = 0x10, - O_TRUNC = 0x20, - O_APPEND = 0x40 + O_CREAT = 0x40, + O_TRUNC = 0x200, + O_APPEND = 0x400 }; extern int open(const char* path, int access, ...);