From f59c1bf1d82da4b445c1cff10c228ea55fa035d4 Mon Sep 17 00:00:00 2001 From: Robert Morris Date: Tue, 2 Jul 2019 11:45:06 -0400 Subject: try to continue from walk() failing to allocate a page-table page --- user/usertests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user/usertests.c') diff --git a/user/usertests.c b/user/usertests.c index 0aafe73..ef70bfb 100644 --- a/user/usertests.c +++ b/user/usertests.c @@ -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"); -- cgit v1.2.3