summaryrefslogtreecommitdiff
path: root/nuttx/fs/nxffs/nxffs_inode.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-28 21:05:39 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-28 21:05:39 +0000
commit7cb2546571c7ac881f4bd0c2c066c974e2174741 (patch)
tree7473c890c43e30659210be6a45b4a6b47749e7b5 /nuttx/fs/nxffs/nxffs_inode.c
parentf5deadfbb2ea797607ce7646c2bca1fdfe74c3c2 (diff)
downloadpx4-nuttx-7cb2546571c7ac881f4bd0c2c066c974e2174741.tar.gz
px4-nuttx-7cb2546571c7ac881f4bd0c2c066c974e2174741.tar.bz2
px4-nuttx-7cb2546571c7ac881f4bd0c2c066c974e2174741.zip
More NXFFS logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3537 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/nxffs/nxffs_inode.c')
-rw-r--r--nuttx/fs/nxffs/nxffs_inode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/fs/nxffs/nxffs_inode.c b/nuttx/fs/nxffs/nxffs_inode.c
index a0b2fc0ef..ae61c9d24 100644
--- a/nuttx/fs/nxffs/nxffs_inode.c
+++ b/nuttx/fs/nxffs/nxffs_inode.c
@@ -325,7 +325,7 @@ int nxffs_nextentry(FAR struct nxffs_volume_s *volume, off_t offset,
****************************************************************************/
int nxffs_findinode(FAR struct nxffs_volume_s *volume, FAR const char *name,
- struct nxffs_entry_s *entry)
+ FAR struct nxffs_entry_s *entry)
{
off_t offset;
int ret;
@@ -364,9 +364,9 @@ int nxffs_findinode(FAR struct nxffs_volume_s *volume, FAR const char *name,
/* Discard this entry and try the next one. Here we set the
* next offset using the raw data length as the offset
* increment. This is, of course, not accurate because it
- * does not account for the data headers that inclose the
+ * does not account for the data headers that enclose the
* data. But it is guaranteed to be less than or equal to
- * the correct offset and, hence, better then seraching
+ * the correct offset and, hence, better then searching
* byte-for-byte.
*/