diff options
author | Sunil K Pandey <skpgkp2@gmail.com> | 2021-08-26 07:51:08 -0700 |
---|---|---|
committer | Sunil K Pandey <skpgkp2@gmail.com> | 2021-08-26 09:34:27 -0700 |
commit | d19b137b6a6b19411125c7a697bfab5bcddbdb65 (patch) | |
tree | bcfc7be6ff831c6156e644170a024b408f235da2 | |
parent | 9926f6e2eeb374cf729d4bb3f092dd4b36a8f861 (diff) | |
download | glibc-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.c | 2 |
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; |