]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fix debug trace
authorYann Collet <cyan@fb.com>
Tue, 13 Nov 2018 21:27:22 +0000 (13:27 -0800)
committerYann Collet <cyan@fb.com>
Tue, 13 Nov 2018 21:27:22 +0000 (13:27 -0800)
programs/benchfn.c

index f1be3394d8ecff6f39af5aa891fb9bd346d3ae34..4a9573e2e802ff2ade219b2a96a38d5226167cd5 100644 (file)
@@ -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;
             }   }