From: Yann Collet Date: Tue, 13 Nov 2018 21:27:22 +0000 (-0800) Subject: fix debug trace X-Git-Tag: v1.3.8~47^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a29e3d1d01154d97fe805f5cedae642f88927535;p=thirdparty%2Fzstd.git fix debug trace --- diff --git a/programs/benchfn.c b/programs/benchfn.c index f1be3394d..4a9573e2e 100644 --- a/programs/benchfn.c +++ b/programs/benchfn.c @@ -140,7 +140,7 @@ BMK_runOutcome_t BMK_benchFunction(BMK_benchParams_t p, if ((p.errorFn != NULL) && (p.errorFn(res))) { RETURN_QUIET_ERROR(BMK_runOutcome_error(res), "Function benchmark failed on block %u (of size %u) with error %i", - blockNb, (U32)p.srcBuffers[blockNb], (int)res); + blockNb, (U32)p.srcSizes[blockNb], (int)res); } dstSize += res; } }