Back out part of a recent, incorrect ROMFS change

This commit is contained in:
Gregory Nutt 2013-09-14 12:29:17 -06:00
parent 5450d6405d
commit 9468590596

View File

@ -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;