aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunil K Pandey <skpgkp2@gmail.com>2021-08-26 07:51:08 -0700
committerSunil K Pandey <skpgkp2@gmail.com>2021-08-26 09:34:27 -0700
commitd19b137b6a6b19411125c7a697bfab5bcddbdb65 (patch)
treebcfc7be6ff831c6156e644170a024b408f235da2
parent9926f6e2eeb374cf729d4bb3f092dd4b36a8f861 (diff)
downloadglibc-d19b137b6a6b19411125c7a697bfab5bcddbdb65.tar
glibc-d19b137b6a6b19411125c7a697bfab5bcddbdb65.tar.gz
glibc-d19b137b6a6b19411125c7a697bfab5bcddbdb65.tar.bz2
glibc-d19b137b6a6b19411125c7a697bfab5bcddbdb65.zip
Fix error message in memmove test to display correct src pointer
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
-rw-r--r--string/test-memmove.c2
1 files changed, 1 insertions, 1 deletions
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;