diff options
author | Stafford Horne <shorne@gmail.com> | 2023-03-04 02:03:00 +0900 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2024-03-23 08:36:28 +0000 |
commit | 4a13b3ef46fc10e695630d4774af7fe4944f64ca (patch) | |
tree | 86f2ca7f6cd681279133479b88e654f1347f7e39 /stdlib | |
parent | ad05a42370fa09062ff2b450fb69905d9f407643 (diff) | |
download | glibc-4a13b3ef46fc10e695630d4774af7fe4944f64ca.zip glibc-4a13b3ef46fc10e695630d4774af7fe4944f64ca.tar.gz glibc-4a13b3ef46fc10e695630d4774af7fe4944f64ca.tar.bz2 |
stdlib: Fix tst-makecontext2 log when swapcontext fails
The log incorrectly prints, setcontext failed. Update this to indicate
that actually swapcontext failed.
Signed-off-by: Stafford Horne <shorne@gmail.com>
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/tst-makecontext2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/tst-makecontext2.c b/stdlib/tst-makecontext2.c index 5091b12..2434cb2 100644 --- a/stdlib/tst-makecontext2.c +++ b/stdlib/tst-makecontext2.c @@ -63,7 +63,7 @@ do_test (void) makecontext (&ucp, (void (*) (void)) cf, 2, 78, 274); if (swapcontext (&ucp2, &ucp) != 0) { - puts ("setcontext failed"); + puts ("swapcontext failed"); return 1; } |