From d19b137b6a6b19411125c7a697bfab5bcddbdb65 Mon Sep 17 00:00:00 2001 From: Sunil K Pandey Date: Thu, 26 Aug 2021 07:51:08 -0700 Subject: Fix error message in memmove test to display correct src pointer Reviewed-by: H.J. Lu --- string/test-memmove.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string') diff --git a/string/test-memmove.c b/string/test-memmove.c index 670094c..02f2170 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; -- cgit v1.1