diff options
author | Robert Morris <[email protected]> | 2011-09-01 13:25:34 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2011-09-01 13:25:34 -0400 |
commit | 371ab7fa96f8e439f4008c973c37aa44ab6ed81e (patch) | |
tree | 1c43722ff54ff90494689ae4202ba2a2a8bd5dcc /usertests.c | |
parent | 62e3b8a92c6f8840cec8a0db13b2bcad10192b4a (diff) | |
download | xv6-labs-371ab7fa96f8e439f4008c973c37aa44ab6ed81e.tar.gz xv6-labs-371ab7fa96f8e439f4008c973c37aa44ab6ed81e.tar.bz2 xv6-labs-371ab7fa96f8e439f4008c973c37aa44ab6ed81e.zip |
inaccessible page under the user stack page, to help exec deal w/ too-large args
Diffstat (limited to 'usertests.c')
-rw-r--r-- | usertests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usertests.c b/usertests.c index 62ce8d7..ed13d80 100644 --- a/usertests.c +++ b/usertests.c @@ -1525,7 +1525,7 @@ bigargtest(void) for(i = 0; i < MAXARG-1; i++) args[i] = "bigargs test: failed\n "; args[MAXARG-1] = 0; - printf(stdout, "bigarg test %d\n", (MAXARG-1)*strlen(args[0])); + printf(stdout, "bigarg test\n"); exec("echo", args); printf(stdout, "bigarg test ok\n"); fd = open("bigarg-ok", O_CREATE); |