binfmt/libelf: Fix function description field

Copy&paste error, wrong description field used
This commit is contained in:
Ville Juven 2022-05-04 09:08:33 +03:00 committed by Petro Karashchenko
parent bbdbca00c1
commit fdef3a7b92

View File

@ -146,10 +146,10 @@ int elf_addrenv_alloc(FAR struct elf_loadinfo_s *loadinfo, size_t textsize,
}
/****************************************************************************
* Name: elf_addrenv_restore
* Name: elf_addrenv_select
*
* Description:
* Restore the address environment before elf_addrenv_select() was called..
* Temporarily select the task's address environment.
*
* Input Parameters:
* loadinfo - Load state information
@ -187,20 +187,16 @@ int elf_addrenv_select(FAR struct elf_loadinfo_s *loadinfo)
#endif
/****************************************************************************
* Name: elf_addrenv_free
* Name: elf_addrenv_restore
*
* Description:
* Release the address environment previously created by
* elf_addrenv_alloc(). This function is called only under certain error
* conditions after the module has been loaded but not yet started.
* After the module has been started, the address environment will
* automatically be freed when the module exits.
* Restore the address environment before elf_addrenv_select() was called..
*
* Input Parameters:
* loadinfo - Load state information
*
* Returned Value:
* None.
* Zero (OK) on success; a negated errno value on failure.
*
****************************************************************************/