Fix comment typos

This commit is contained in:
YAMAMOTO Takashi 2020-02-13 11:25:56 +09:00 committed by patacongo
parent 22d002762b
commit 710da6022d
2 changed files with 3 additions and 3 deletions

View File

@ -245,7 +245,7 @@ struct fs_dirent_s
off_t fd_position;
/* Retained control information depends on the type of file system that
* provides is provides the mountpoint. Ideally this information should
* provides the mountpoint. Ideally this information should
* be hidden behind an opaque, file-system-dependent void *, but we put
* the private definitions in line here for now to reduce allocations.
*/

View File

@ -266,8 +266,8 @@ FAR void *mm_realloc(FAR struct mm_heap_s *heap, FAR void *oldmem,
oldnode = newnode;
oldsize = newnode->size;
/* Now we have to move the user contents 'down' in memory. memcpy should
* should be save for this.
/* Now we have to move the user contents 'down' in memory. memcpy
* should be safe for this.
*/
newmem = (FAR void *)((FAR char *)newnode + SIZEOF_MM_ALLOCNODE);