From 371ab7fa96f8e439f4008c973c37aa44ab6ed81e Mon Sep 17 00:00:00 2001 From: Robert Morris Date: Thu, 1 Sep 2011 13:25:34 -0400 Subject: inaccessible page under the user stack page, to help exec deal w/ too-large args --- usertests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usertests.c') 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); -- cgit v1.2.3