From: Tom Hughes Date: Fri, 18 Nov 2005 09:24:05 +0000 (+0000) Subject: Fix argument count given to makecontext. X-Git-Tag: svn/VALGRIND_3_1_0~47 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9b986200b47e9e4761ccb1e35d9fd01f88474830;p=thirdparty%2Fvalgrind.git Fix argument count given to makecontext. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5185 --- diff --git a/memcheck/tests/stack_changes.c b/memcheck/tests/stack_changes.c index 7694b461e3..f5e573b170 100644 --- a/memcheck/tests/stack_changes.c +++ b/memcheck/tests/stack_changes.c @@ -54,8 +54,8 @@ int main(int argc, char **argv) int c1 = init_context(&ctx1); int c2 = init_context(&ctx2); - makecontext(&ctx1, (void (*)()) hello, 2, &ctx2); - makecontext(&ctx2, (void (*)()) hello, 2, &ctx1); + makecontext(&ctx1, (void (*)()) hello, 1, &ctx2); + makecontext(&ctx2, (void (*)()) hello, 1, &ctx1); swapcontext(&oldc, &ctx1);