From a29e3d1d01154d97fe805f5cedae642f88927535 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Tue, 13 Nov 2018 13:27:22 -0800 Subject: [PATCH] fix debug trace --- programs/benchfn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }