public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Fangrui Song <maskray@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc/maskray/unnest] Fix error message in memmove test to display correct src pointer
Date: Fri,  3 Sep 2021 17:04:20 +0000 (GMT)	[thread overview]
Message-ID: <20210903170420.A72E53847800@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d19b137b6a6b19411125c7a697bfab5bcddbdb65

commit d19b137b6a6b19411125c7a697bfab5bcddbdb65
Author: Sunil K Pandey <skpgkp2@gmail.com>
Date:   Thu Aug 26 07:51:08 2021 -0700

    Fix error message in memmove test to display correct src pointer
    
    Reviewed-by: H.J. Lu <hjl.tools@gmail.com>

Diff:
---
 string/test-memmove.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/string/test-memmove.c b/string/test-memmove.c
index 670094c9dc..02f2170bfd 100644
--- a/string/test-memmove.c
+++ b/string/test-memmove.c
@@ -298,7 +298,7 @@ do_test2 (size_t offset)
 		{
 		  error (0, 0,
 			 "Wrong result in function %s dst \"%p\" src \"%p\" offset \"%zd\"",
-			 impl->name, dst, large_buf, i);
+			 impl->name, dst, src, i);
 		  ret = 1;
 		  munmap ((void *) large_buf, size);
 		  return;


                 reply	other threads:[~2021-09-03 17:04 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=20210903170420.A72E53847800@sourceware.org \
    --to=maskray@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: link
Be 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).