try to continue from walk() failing to allocate a page-table page

This commit is contained in:
Robert Morris 2019-07-02 11:45:06 -04:00
parent b27f275014
commit f59c1bf1d8
3 changed files with 17 additions and 8 deletions

View file

@ -1473,7 +1473,7 @@ sbrktest(void)
// can one grow address space to something big?
a = sbrk(0);
amt = (BIG) - (uint64)a;
amt = BIG - (uint64)a;
p = sbrk(amt);
if (p != a) {
printf(stdout, "sbrk test failed to grow big address space; enough phys mem?\n");