Merged in hardlulz/modem-3.0-nuttx/fix-smartfs-build (pull request #574)
Fixed misprint in smartfs_utils.c Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
commit
667ff07e6a
@ -1825,6 +1825,7 @@ int smartfs_shrinkfile(FAR struct smartfs_mountpt_s *fs,
|
||||
{
|
||||
dest = (FAR uint8_t *)&sf->buffer;
|
||||
destsize = fs->fs_llformat.availbytes;
|
||||
}
|
||||
else
|
||||
{
|
||||
offset = sizeof(struct smartfs_chain_header_s) + length;
|
||||
|
Loading…
Reference in New Issue
Block a user