mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 00:34:10 +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 */
|
||||
|
||||
ndx = romfs_devcacheread(rm, offset + namelen);
|
||||
ndx = romfs_devcacheread(rm, offset);
|
||||
if (ndx < 0)
|
||||
{
|
||||
return ndx;
|
||||
|
||||
Reference in New Issue
Block a user