mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 13:27:01 +08:00
binfmt: Replace all nx_ API with file_ API
since binfmt is a kernel component Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Masayuki Ishikawa
parent
8612af4ae5
commit
841a4922aa
@@ -72,7 +72,7 @@ int nxflat_unload(FAR struct nxflat_loadinfo_s *loadinfo)
|
||||
|
||||
if (loadinfo->ispace)
|
||||
{
|
||||
munmap((FAR void *)loadinfo->ispace, loadinfo->isize);
|
||||
file_munmap((FAR void *)loadinfo->ispace, loadinfo->isize);
|
||||
loadinfo->ispace = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user