diff options
Diffstat (limited to 'user/usertests.c')
-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"); |