Back out part of a recent, incorrect ROMFS change
This commit is contained in:
parent
5450d6405d
commit
9468590596
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user