Fix error message in memmove test to display correct src pointer

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
This commit is contained in:
Sunil K Pandey 2021-08-26 07:51:08 -07:00
parent 9926f6e2ee
commit d19b137b6a

View File

@ -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;