Fixed misprint in smartfs_utils.c

This commit is contained in:
DL 2018-01-17 15:57:06 +03:00
parent 21eff99d72
commit 7d1f133774

View File

@ -1825,6 +1825,7 @@ int smartfs_shrinkfile(FAR struct smartfs_mountpt_s *fs,
{ {
dest = (FAR uint8_t *)&sf->buffer; dest = (FAR uint8_t *)&sf->buffer;
destsize = fs->fs_llformat.availbytes; destsize = fs->fs_llformat.availbytes;
}
else else
{ {
offset = sizeof(struct smartfs_chain_header_s) + length; offset = sizeof(struct smartfs_chain_header_s) + length;