[U-Boot] [PATCH v2 02/80] sandbox: Fix comment for os_open()

Simon Glass sjg at chromium.org
Wed Mar 25 19:21:50 CET 2015


This has the wrong #define in the function comment. Fix it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2: None

 include/os.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/os.h b/include/os.h
index e3645e0..a758f09 100644
--- a/include/os.h
+++ b/include/os.h
@@ -64,7 +64,7 @@ off_t os_lseek(int fd, off_t offset, int whence);
  * Access to the OS open() system call
  *
  * \param pathname	Pathname of file to open
- * \param flags		Flags, like O_RDONLY, O_RDWR
+ * \param flags		Flags, like OS_O_RDONLY, OS_O_RDWR
  * \return file descriptor, or -1 on error
  */
 int os_open(const char *pathname, int flags);
-- 
2.2.0.rc0.207.ga3a616c



More information about the U-Boot mailing list