about summary refs log tree commit diff
diff options
context:
space:
mode:
-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;