public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Stafford Horne <shorne@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc] stdlib: Fix tst-makecontext2 log when swapcontext fails Date: Sat, 23 Mar 2024 08:37:23 +0000 (GMT) [thread overview] Message-ID: <20240323083724.031AD3858D28@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4a13b3ef46fc10e695630d4774af7fe4944f64ca commit 4a13b3ef46fc10e695630d4774af7fe4944f64ca Author: Stafford Horne <shorne@gmail.com> Date: Sat Mar 4 02:03:00 2023 +0900 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> Diff: --- stdlib/tst-makecontext2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/tst-makecontext2.c b/stdlib/tst-makecontext2.c index 5091b126a0..2434cb2af3 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; }
reply other threads:[~2024-03-23 8:37 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20240323083724.031AD3858D28@sourceware.org \ --to=shorne@sourceware.org \ --cc=glibc-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).