diff --git a/include/nuttx/fs/dirent.h b/include/nuttx/fs/dirent.h index bcf817dc330..f0192f352a9 100644 --- a/include/nuttx/fs/dirent.h +++ b/include/nuttx/fs/dirent.h @@ -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. */ diff --git a/mm/mm_heap/mm_realloc.c b/mm/mm_heap/mm_realloc.c index bf0effa54d4..f5976fad553 100644 --- a/mm/mm_heap/mm_realloc.c +++ b/mm/mm_heap/mm_realloc.c @@ -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);