public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] Fix error message in memmove test to display correct src pointer
@ 2021-08-26 16:37 Sunil Pandey
  0 siblings, 0 replies; only message in thread
From: Sunil Pandey @ 2021-08-26 16:37 UTC (permalink / raw)
  To: glibc-cvs

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;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-26 16:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-26 16:37 [glibc] Fix error message in memmove test to display correct src pointer Sunil Pandey

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).