mirror of
https://github.com/opnsense/src.git
synced 2026-03-10 10:13:20 -04:00
Return computed real memory size, not a value from similarly named
global variable. MFC after: 1 week
This commit is contained in:
parent
cf551b8a98
commit
f788dba5bb
1 changed files with 1 additions and 1 deletions
|
|
@ -265,7 +265,7 @@ regions_to_avail(vm_paddr_t *avail, uint32_t exflags, size_t maxavail,
|
|||
if (pavail != NULL)
|
||||
*pavail = availmem;
|
||||
if (prealmem != NULL)
|
||||
*prealmem = realmem;
|
||||
*prealmem = totalmem;
|
||||
return (acnt);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue