diff options
author | Robert Morris <[email protected]> | 2019-07-02 11:45:06 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2019-07-02 11:45:06 -0400 |
commit | f59c1bf1d82da4b445c1cff10c228ea55fa035d4 (patch) | |
tree | 894695263c3509c2923d59ee6ba77857134701dc /user | |
parent | b27f275014cb473960b9e4d36b03455e404116a7 (diff) | |
download | xv6-labs-f59c1bf1d82da4b445c1cff10c228ea55fa035d4.tar.gz xv6-labs-f59c1bf1d82da4b445c1cff10c228ea55fa035d4.tar.bz2 xv6-labs-f59c1bf1d82da4b445c1cff10c228ea55fa035d4.zip |
try to continue from walk() failing to allocate a page-table page
Diffstat (limited to 'user')
-rw-r--r-- | user/usertests.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |