summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nuttx/fs/fs_findblockdriver.c2
-rw-r--r--nuttx/fs/fs_openblockdriver.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/fs/fs_findblockdriver.c b/nuttx/fs/fs_findblockdriver.c
index b2b4606df..bfe59b21d 100644
--- a/nuttx/fs/fs_findblockdriver.c
+++ b/nuttx/fs/fs_findblockdriver.c
@@ -62,7 +62,7 @@
*
* Inputs:
* pathname - the full path to the block driver to be located
- * mountflags - if MS_RDONLY is set, then driver must support write
+ * mountflags - if MS_RDONLY is not set, then driver must support write
* operations (see include/sys/mount.h)
* ppinode - address of the location to return the inode reference
*
diff --git a/nuttx/fs/fs_openblockdriver.c b/nuttx/fs/fs_openblockdriver.c
index 94f2c8a8c..f4dcd94eb 100644
--- a/nuttx/fs/fs_openblockdriver.c
+++ b/nuttx/fs/fs_openblockdriver.c
@@ -61,7 +61,7 @@
*
* Inputs:
* pathname - the full path to the block driver to be opened
- * mountflags - if MS_RDONLY is set, then driver must support write
+ * mountflags - if MS_RDONLY is not set, then driver must support write
* operations (see include/sys/mount.h)
* ppinode - address of the location to return the inode reference
*