mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user