mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
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>
This commit is contained in:
parent
ad05a42370
commit
4a13b3ef46
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ do_test (void)
|
||||||
makecontext (&ucp, (void (*) (void)) cf, 2, 78, 274);
|
makecontext (&ucp, (void (*) (void)) cf, 2, 78, 274);
|
||||||
if (swapcontext (&ucp2, &ucp) != 0)
|
if (swapcontext (&ucp2, &ucp) != 0)
|
||||||
{
|
{
|
||||||
puts ("setcontext failed");
|
puts ("swapcontext failed");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue