aboutsummaryrefslogtreecommitdiff
path: root/string/test-memmove.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/test-memmove.c')
-rw-r--r--string/test-memmove.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/string/test-memmove.c b/string/test-memmove.c
index d2ab3f3..4343329 100644
--- a/string/test-memmove.c
+++ b/string/test-memmove.c
@@ -68,6 +68,7 @@ static void
do_one_test (impl_t *impl, char *dst, char *src, const char *orig_src,
size_t len)
{
+ /* This also clears the destination buffer set by the previous run. */
memcpy (src, orig_src, len);
#ifdef TEST_BCOPY
CALL (impl, src, dst, len);