Fix some inconsistent field name in struct task_group_s: addrenv should be tg_addrenv.

This commit is contained in:
Gregory Nutt 2014-09-23 16:01:44 -06:00
parent df26163f1f
commit cce614c67e

View File

@ -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;