Fix NXFFS positioning bug

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3569 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-05-06 15:19:07 +00:00
parent 97da40cebb
commit 0f1bdb6ab2
5 changed files with 79 additions and 51 deletions
+2 -2
View File
@@ -134,7 +134,7 @@ static inline int nxffs_hdrpos(FAR struct nxffs_volume_s *volume,
wrfile->ofile.entry.hoffset = nxffs_iotell(volume);
}
return OK;
return ret;
}
/****************************************************************************
@@ -189,7 +189,7 @@ static inline int nxffs_nampos(FAR struct nxffs_volume_s *volume,
wrfile->ofile.entry.noffset = nxffs_iotell(volume);
}
return OK;
return ret;
}
/****************************************************************************