diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-09-14 12:29:17 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-09-14 12:29:17 -0600 |
commit | 3368478d5386e2da2a68e87ab39f3e892cf1162a (patch) | |
tree | 5d01526dc6fd21a888ce31264e9e9824128f21e7 /nuttx/fs/romfs | |
parent | 6e657efabb8cdfd33bf0805349da3de98ec4530d (diff) | |
download | nuttx-3368478d5386e2da2a68e87ab39f3e892cf1162a.tar.gz nuttx-3368478d5386e2da2a68e87ab39f3e892cf1162a.tar.bz2 nuttx-3368478d5386e2da2a68e87ab39f3e892cf1162a.zip |
Back out part of a recent, incorrect ROMFS change
Diffstat (limited to 'nuttx/fs/romfs')
-rw-r--r-- | nuttx/fs/romfs/fs_romfsutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/fs/romfs/fs_romfsutil.c b/nuttx/fs/romfs/fs_romfsutil.c index 95698bb3b..36de75ed5 100644 --- a/nuttx/fs/romfs/fs_romfsutil.c +++ b/nuttx/fs/romfs/fs_romfsutil.c @@ -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; |