summaryrefslogtreecommitdiff
path: root/nuttx/fs/nxffs/nxffs_read.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-05-04 21:59:23 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-05-04 21:59:23 +0000
commit253f30c6d296de51ccc87f79091e923b2bc22c58 (patch)
tree0785a4fa69278815975b80d967211cf7e6b3cf61 /nuttx/fs/nxffs/nxffs_read.c
parent29bc6e24ce51bb7b97591f5d354bc3b9b3b05602 (diff)
downloadpx4-nuttx-253f30c6d296de51ccc87f79091e923b2bc22c58.tar.gz
px4-nuttx-253f30c6d296de51ccc87f79091e923b2bc22c58.tar.bz2
px4-nuttx-253f30c6d296de51ccc87f79091e923b2bc22c58.zip
More NXFFS bugfixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3561 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/nxffs/nxffs_read.c')
-rw-r--r--nuttx/fs/nxffs/nxffs_read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/fs/nxffs/nxffs_read.c b/nuttx/fs/nxffs/nxffs_read.c
index 36f2166bb..bc222c159 100644
--- a/nuttx/fs/nxffs/nxffs_read.c
+++ b/nuttx/fs/nxffs/nxffs_read.c
@@ -292,7 +292,7 @@ int nxffs_nextblock(FAR struct nxffs_volume_s *volume, off_t offset,
{
/* Read the next character */
- ch = nxffs_getc(volume);
+ ch = nxffs_getc(volume, SIZEOF_NXFFS_DATA_HDR - nmagic);
if (ch < 0)
{
fvdbg("nxffs_getc failed: %d\n", -ch);