Skip to content
Snippets Groups Projects
Commit 94685905 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Back out part of a recent, incorrect ROMFS change

parent 5450d640
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment