mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 20:08:15 +08:00
style: fix spelling in code comments and strings
This commit is contained in:
@@ -69,7 +69,7 @@ int libelf_depend(FAR struct module_s *importer,
|
||||
* exporting module. In that case, the module would already be in the
|
||||
* list of dependencies.
|
||||
*
|
||||
* The list dependency list is a a dumb, upacked array of pointers. This
|
||||
* The list dependency list is a a dumb, unpacked array of pointers. This
|
||||
* should not be too inefficient if the number of CONFIG_LIBC_ELF_MAXDEPEND
|
||||
* is small. Otherwise, a more dynamic data structure would be in order.
|
||||
*/
|
||||
@@ -157,7 +157,7 @@ int libelf_undepend(FAR struct module_s *importer)
|
||||
DEBUGASSERT(importer != NULL && importer->dependents == 0);
|
||||
|
||||
/* Decrement the dependency count on each of exporters of symbols used by
|
||||
* this importer module. This is an upacked array of pointers. This
|
||||
* this importer module. This is an unpacked array of pointers. This
|
||||
* should not be too inefficient if the number of CONFIG_LIBC_ELF_MAXDEPEND
|
||||
* is small. Otherwise, a more dynamic data structure would be in order.
|
||||
*/
|
||||
|
||||
@@ -109,7 +109,7 @@ int libelf_loadhdrs(FAR struct mod_loadinfo_s *loadinfo)
|
||||
(size_t)loadinfo->ehdr.e_phnum;
|
||||
if (loadinfo->ehdr.e_phoff + phdrsize > loadinfo->filelen)
|
||||
{
|
||||
berr("ERROR: Insufficent space for program header table\n");
|
||||
berr("ERROR: Insufficient space for program header table\n");
|
||||
return -ESPIPE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user