From 01432abb3ea88e162f407f46eee32b9107b3634b Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Sun, 29 Mar 2020 15:10:17 +0000 Subject: [PATCH] test: swaps to f1 not main --- test_libucontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_libucontext.c b/test_libucontext.c index bd235e4..fe629c4 100644 --- a/test_libucontext.c +++ b/test_libucontext.c @@ -46,7 +46,7 @@ static void f2 (void) { printf("start f2\n"); printf("swap to f1\n"); swapcontext(&ctx[2], &ctx[1]); - printf("finish f2, should swap to main\n"); + printf("finish f2, should swap to f1\n"); }