mirror of
https://github.com/apache/nuttx.git
synced 2026-10-13 09:10:17 +00:00
Fix some inconsistent field name in struct task_group_s: addrenv should be tg_addrenv.
This commit is contained in:
parent
df26163f1f
commit
cce614c67e
1 changed files with 1 additions and 1 deletions
|
|
@ -252,7 +252,7 @@ uintptr_t pgalloc(uintptr_t brkaddr, unsigned int npages)
|
|||
{
|
||||
/* Get the physical address of the level 2 page table */
|
||||
|
||||
paddr = get_pgtable(&group->addrenv, brkaddr);
|
||||
paddr = get_pgtable(&group->tg_addrenv, brkaddr);
|
||||
if (paddr == 0)
|
||||
{
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue