diff options
author | Frans Kaashoek <[email protected]> | 2019-09-21 14:20:21 -0400 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2019-09-21 17:28:18 -0400 |
commit | 843ce7776568ac2d4f71886e95077709b83bc613 (patch) | |
tree | d7185f39aca036e226e08e4df51383dab2127f5d /user | |
parent | d940fd122d8e04dfc1122ca6b224703eead55f66 (diff) | |
download | xv6-labs-843ce7776568ac2d4f71886e95077709b83bc613.tar.gz xv6-labs-843ce7776568ac2d4f71886e95077709b83bc613.tar.bz2 xv6-labs-843ce7776568ac2d4f71886e95077709b83bc613.zip |
Stress copyin for the full allocated page (good for lazy lab).
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 af3e5db..fe3ae49 100644 --- a/user/usertests.c +++ b/user/usertests.c @@ -1757,7 +1757,7 @@ sbrkarg(char *s) printf("%s: open sbrk failed\n", s); exit(1); } - if ((n = write(fd, a, 10)) < 0) { + if ((n = write(fd, a, PGSIZE)) < 0) { printf("%s: write sbrk failed\n", s); exit(1); } |