mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
Back out part of a recent, incorrect ROMFS change
This commit is contained in:
@@ -952,7 +952,7 @@ int romfs_datastart(struct romfs_mountpt_s *rm, uint32_t offset,
|
|||||||
{
|
{
|
||||||
/* Read the sector into memory */
|
/* Read the sector into memory */
|
||||||
|
|
||||||
ndx = romfs_devcacheread(rm, offset + namelen);
|
ndx = romfs_devcacheread(rm, offset);
|
||||||
if (ndx < 0)
|
if (ndx < 0)
|
||||||
{
|
{
|
||||||
return ndx;
|
return ndx;
|
||||||
|
|||||||
Reference in New Issue
Block a user