From 05f68a6108b2a230b5d2ce8b89f4564f6564c1a7 Mon Sep 17 00:00:00 2001 From: Andras HORVATH Date: Tue, 6 Mar 2012 23:22:14 +0100 Subject: Fix MCBLOCK test: actually copy to the full buffer, not just its first $blocksize. --- mbw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mbw.c b/mbw.c index 4481853..a44dc85 100644 --- a/mbw.c +++ b/mbw.c @@ -99,10 +99,10 @@ double worker(unsigned long long asize, long *a, long *b, int type, unsigned lon } else if(type==2) { /* memcpy block test */ gettimeofday(&starttime, NULL); for(t=0; tarray_bytes){ - c=mempcpy(b,a,t-array_bytes); + b=mempcpy(b,a,t-array_bytes); } gettimeofday(&endtime, NULL); } else { /* dumb test */ -- cgit v1.2.3